Subject: | VS2017 compilation warnings |
While building this module under 64-bit version of MS VS2017, I get the following build warnings:
Piece.xs(565): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(576): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(593): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(599): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(693): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(701): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(707): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(924): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(925): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(926): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(935): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(936): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(943): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(944): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(945): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(946): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(997): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(990): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
Piece.xs(1148): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(1149): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(1150): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(1151): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(1152): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(1155): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
Piece.xs(1158): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data