Subject: | VS2017 compilation warnings |
While building this module under 64-bit version of MS VS2017, I get the following build warnings:
shared.xs(725): warning C4267: 'function': conversion from 'size_t' to 'U32', possible loss of data
shared.xs(886): warning C4244: 'function': conversion from '__int64' to 'const I32', possible loss of data
shared.xs(932): warning C4267: '=': conversion from 'size_t' to 'I32', possible loss of data
shared.xs(927): warning C4244: 'initializing': conversion from '__int64' to 'I32', possible loss of data
shared.xs(986): warning C4267: '=': conversion from 'size_t' to 'I32', possible loss of data
shared.xs(981): warning C4244: 'initializing': conversion from '__int64' to 'I32', possible loss of data
shared.xs(1030): warning C4267: '=': conversion from 'size_t' to 'I32', possible loss of data
shared.xs(1025): warning C4244: 'initializing': conversion from '__int64' to 'I32', possible loss of data
shared.xs(1081): warning C4244: '=': conversion from '__int64' to 'U32', possible loss of data
shared.xs(1084): warning C4267: '=': conversion from 'size_t' to 'U32', possible loss of data
shared.xs(1102): warning C4244: 'initializing': conversion from '__int64' to 'I32', possible loss of data
shared.xs(1383): warning C4244: 'initializing': conversion from '__int64' to 'I32', possible loss of data
shared.xs(1417): warning C4267: '=': conversion from 'size_t' to 'I32', possible loss of data
shared.xs(1717): warning C4267: 'function': conversion from 'size_t' to 'U32', possible loss of data