Fixed 2 more casted lvalue issues.

This commit is contained in:
Marcus Meissner 2004-07-22 23:42:24 +00:00 committed by Alexandre Julliard
parent 2d0d484786
commit cba2b3051c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;