cy99 / fastlz

Automatically exported from code.google.com/p/fastlz
Other
0 stars 0 forks source link

64-bit compiler warnings with Visual Studio 2005 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am getting the following warnings:

1>fastlz.c(234) : warning C4244: '=' : conversion from '__int64' to
'flzuint32', possible loss of data
1>fastlz.c(304) : warning C4244: '=' : conversion from '__int64' to
'flzuint32', possible loss of data
1>fastlz.c(417) : warning C4244: 'return' : conversion from '__int64' to
'int', possible loss of data
1>fastlz.c(548) : warning C4244: 'return' : conversion from '__int64' to
'int', possible loss of data
1>fastlz.c(234) : warning C4244: '=' : conversion from '__int64' to
'flzuint32', possible loss of data
1>fastlz.c(304) : warning C4244: '=' : conversion from '__int64' to
'flzuint32', possible loss of data
1>fastlz.c(417) : warning C4244: 'return' : conversion from '__int64' to
'int', possible loss of data
1>fastlz.c(548) : warning C4244: 'return' : conversion from '__int64' to
'int', possible loss of data

It would be nice if these warnings could be tidied up by casting the
datatypes as necessary.

- Simon.

Original issue reported on code.google.com by Simon.Br...@gmail.com on 27 Apr 2009 at 10:23