mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Remove uses of the cast-as-lvalue GCC extension which has been
deprecated.
This commit is contained in:
parent
7439680542
commit
a13e313fec
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ HRESULT WriteExtraChunk(LPEXTRACHUNKS extra,FOURCC ckid,LPVOID lpData,
|
|||
return AVIERR_MEMORY;
|
||||
|
||||
extra->lp = lp;
|
||||
((LPBYTE)lp) += extra->cb;
|
||||
lp = (LPDWORD) ((LPBYTE)lp + extra->cb);
|
||||
extra->cb += size + 2 * sizeof(DWORD);
|
||||
|
||||
/* insert chunk-header in block */
|
||||
|
@ -125,7 +125,7 @@ HRESULT ReadChunkIntoExtra(LPEXTRACHUNKS extra,HMMIO hmmio,MMCKINFO *lpck)
|
|||
return AVIERR_MEMORY;
|
||||
|
||||
extra->lp = lp;
|
||||
((LPBYTE)lp) += extra->cb;
|
||||
lp = (LPDWORD) ((LPBYTE)lp + extra->cb);
|
||||
extra->cb += cb;
|
||||
|
||||
/* insert chunk-header in block */
|
||||
|
|
Loading…
Reference in a new issue