Merge pull request #452 from cdunn2001/fix-451

Fix a clang warning
This commit is contained in:
Christopher Dunn 2016-03-24 00:27:13 -05:00
commit 96d32b37ea

View File

@ -63,7 +63,7 @@ typedef char UIntToStringBuffer[uintToStringBufferSize];
static inline void uintToString(LargestUInt value, char*& current) {
*--current = 0;
do {
*--current = static_cast<signed char>(value % 10U + static_cast<unsigned>('0'));
*--current = static_cast<char>(value % 10U + static_cast<unsigned>('0'));
value /= 10;
} while (value != 0);
}