Commit a13e313f authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Remove uses of the cast-as-lvalue GCC extension which has been

deprecated.
parent 74396805
......@@ -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 */
......
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