Commit cba2b305 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Fixed 2 more casted lvalue issues.

parent 2d0d4847
......@@ -1115,7 +1115,7 @@ static HRESULT WINAPI IAVIStream_fnRead(IAVIStream *iface, LONG start,
block++;
offset = 0;
((BYTE*)buffer) += size;
buffer = ((LPBYTE)buffer)+size;
samples -= size;
buffersize -= size;
......
......@@ -1012,7 +1012,7 @@ static HRESULT WINAPI IEditAVIStream_fnRead(IAVIStream*iface,LONG start,
if (bytesread != NULL)
*bytesread += readBytes;
if (buffer != NULL) {
(LPBYTE)buffer += readBytes;
buffer = ((LPBYTE)buffer)+readBytes;
buffersize -= readBytes;
}
start += count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment