kernel32: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-10-31 22:09:36 +00:00 committed by Alexandre Julliard
parent 30b878b3b6
commit 8125231e49
1 changed files with 2 additions and 2 deletions

View File

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