Commit 8125231e authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

kernel32: Cast-qual warnings fix.

parent 30b878b3
......@@ -421,8 +421,8 @@ BOOL NE_LoadSegment( NE_MODULE *pModule, WORD segnum )
if (buff == NULL) return FALSE;
while(curr < buff + size) {
unsigned int rept = ((short*)curr)[0];
unsigned int len = ((short*)curr)[1];
unsigned int rept = ((const short *)curr)[0];
unsigned int len = ((const short *)curr)[1];
curr += 2*sizeof(short);
while (rept--)
......
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