Subject: | VS2017 compilation warnings |
While building this module under 64-bit version of MS VS2017, I get the following build warnings:
Zlib.xs(813): warning C4244: '=': conversion from 'UV' to 'uLong', possible loss of data
Zlib.xs(843): warning C4244: '=': conversion from 'UV' to 'uLong', possible loss of data
Zlib.c(1155): warning C4267: 'function': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(921): warning C4267: 'function': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(984): warning C4267: 'function': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1065): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1084): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1086): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1112): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1160): warning C4267: '+=': conversion from 'size_t' to 'uLong', possible loss of data
Zlib.xs(1213): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1215): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1241): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1519): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1538): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1551): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Zlib.xs(1586): warning C4267: 'function': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1643): warning C4267: '+=': conversion from 'size_t' to 'uLong', possible loss of data
Zlib.xs(1657): warning C4267: 'function': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1662): warning C4267: 'function': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1718): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1893): warning C4267: '=': conversion from 'size_t' to 'uInt', possible loss of data
Zlib.xs(1952): warning C4267: '+=': conversion from 'size_t' to 'uLong', possible loss of data
Zlib.xs(1959): warning C4267: '=': conversion from 'size_t' to 'off_t', possible loss of data