--- fcrackzip/crack.c 2008/08/04 07:09:50 1.1 +++ fcrackzip/crack.c 2008/10/09 07:45:07 1.2 @@ -24,17 +24,25 @@ static u32 fgetu32 (FILE * f) { - return (fgetc (f) << 0) | - (fgetc (f) << 8) | - (fgetc (f) << 16) | - (fgetc (f) << 24); + register u32 r; + + r = fgetc(f) << 0; + r |= fgetc(f) << 8; + r |= fgetc(f) << 16; + r |= fgetc(f) << 24; + + return r; } static u32 fgetu16 (FILE * f) { - return (fgetc (f) << 0) | - (fgetc (f) << 8); + register u32 r; + + r = fgetc(f) << 0; + r |= fgetc(f) << 8; + + return r; } static void