Skip to content

Commit

Permalink
Fixed compiler warning in 3 party code
Browse files Browse the repository at this point in the history
  • Loading branch information
gugmaster committed Oct 1, 2013
1 parent 723afd6 commit 1b9299c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Core/Source/Externals/minizip/ioapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ static long ZCALLBACK fseek64_file_func (voidpf opaque, voidpf stream, ZPOS64_T
}
ret = 0;

if(fseeko64((FILE *)stream, offset, fseek_origin) != 0)

#if !defined(USE_FILE32API)
#warning In the following file we are casting to long to squash warning.
#endif
if(fseeko64((FILE *)stream, (long)offset, fseek_origin) != 0)
ret = -1;

return ret;
Expand Down

0 comments on commit 1b9299c

Please sign in to comment.