mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 16:26:08 +00:00
Fixed 2 more casted lvalue issues.
This commit is contained in:
parent
2d0d484786
commit
cba2b3051c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user