[Zlib-devel] zlib 1.2.2.3 Visual Studio warning

Gilles Vollant info at winimage.com
Sun May 29 03:51:53 EDT 2005



Warning in both VC2003 and VC2005 
 
\zlib-1.2.2.3\deflate.c(603) : warning C4244: '=' : conversion from 'uLong'
to 'Bytef', possible loss of data
\zlib-1.2.2.3\deflate.c(604) : warning C4244: '=' : conversion from 'uLong'
to 'Bytef', possible loss of data
\zlib-1.2.2.3\deflate.c(605) : warning C4244: '=' : conversion from 'uLong'
to 'Bytef', possible loss of data
\zlib-1.2.2.3\deflate.c(606) : warning C4244: '=' : conversion from 'uLong'
to 'Bytef', possible loss of data
\zlib-1.2.2.3\deflate.c(656) : warning C4018: '<' : signed/unsigned mismatch
\zlib-1.2.2.3\deflate.c(742) : warning C4018: '>' : signed/unsigned mismatch
\zlib-1.2.2.3\deflate.c(744) : warning C4018: '<=' : signed/unsigned
mismatch
\zlib-1.2.2.3\deflate.c(745) : warning C4244: '=' : conversion from 'uLong'
to 'Bytef', possible loss of data
\zlib-1.2.2.3\deflate.c(746) : warning C4244: '=' : conversion from 'uLong'
to 'Bytef', possible loss of data




Warning only on VC2005 beta 2 and AMD64 target
..\..\..\inftrees.c(265) : warning C4334: '<<' : result of 32-bit shift
implicitly converted to 64 bits (was 64-bit shift intended?)
..\..\..\inflate.c(1345) : warning C4334: '<<' : result of 32-bit shift
implicitly converted to 64 bits (was 64-bit shift intended?)





More information about the Zlib-devel mailing list