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

This commit is contained in:
Philipp A. Hartmann 2014-07-10 16:49:20 +02:00 committed by Philipp A. Hartmann
parent 04f9c5020f
commit bde95eca04

View File

@ -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);