Commit bde95eca authored by Philipp A. Hartmann's avatar Philipp A. Hartmann Committed by Philipp A. Hartmann

Writer::WriteUint: add cast to hide warning C4244 on MSVC

parent 04f9c502
......@@ -185,7 +185,7 @@ protected:
char buffer[10];
char *p = buffer;
do {
*p++ = (u % 10) + '0';
*p++ = char(u % 10) + '0';
u /= 10;
} while (u > 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment