Fix C++ client warnings when building with MSVC
djungelorm opened this issue ยท 0 comments
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(30): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(38): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(46): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(54): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(62): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(68): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(74): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(82): warning C4267: 'argument': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]
c:\users\administrator\build\krpc-win64\src\src\decoder.cpp(104): warning C4267: 'argument': conversion from 'size_t' to 'int', po
ssible loss of data [C:\Users\Administrator\build\krpc-win64\build\krpc.vcxproj]