increasing MSVC 2017 compiler to warning level /W4 gives following warnings:
monocypher.c(153): warning C4244: 'Initialization': conversion from 'u32' to 'u8', possible loss of data
monocypher.c(1275): warning C4244: 'Initialization': conversion from 'int' in 'u8', possible loss of data
monocypher.c(1654): warning C4244: '=': conversion from 'int' to 'i8', possible loss of data
monocypher.c(1867): warning C4244: "Initialization": conversion from 'int' in 'u8', possible loss of data
monocypher.c(1725): warning C4456: Declaration of 'tmp' hides previous local declaration
The warnings issues may be cosmetic (for sure the last one). But you may like to know them anyway.
Hi there,
increasing MSVC 2017 compiler to warning level /W4 gives following warnings:
monocypher.c(153): warning C4244: 'Initialization': conversion from 'u32' to 'u8', possible loss of data monocypher.c(1275): warning C4244: 'Initialization': conversion from 'int' in 'u8', possible loss of data monocypher.c(1654): warning C4244: '=': conversion from 'int' to 'i8', possible loss of data monocypher.c(1867): warning C4244: "Initialization": conversion from 'int' in 'u8', possible loss of data monocypher.c(1725): warning C4456: Declaration of 'tmp' hides previous local declaration
The warnings issues may be cosmetic (for sure the last one). But you may like to know them anyway.
Best regards, mireiner