Visual Studio show this Debug Error:
Run-Time Check Failure #1 - A cast to a smaller data type has caused a loss of
data. If this was intentional, you should mask the source of the cast with the
appropriate bitmask. For example:
char c = (i & 0xFF);
Changing the code in this way will
VS run-time warnings are nice.
However, they warn even when explicit casting is used, which is not
nice. Explicit cast means that data truncation is intentional.
The suggested "fix" would not change the resulting binary *if compiler
is smart enough*. MHD is very portable and can be built by ma