Skip to content

Commit 96d32b3

Browse files
committed
Merge pull request #452 from cdunn2001/fix-451
Fix a clang warning
2 parents b58c844 + ef2ff87 commit 96d32b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_tool.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ typedef char UIntToStringBuffer[uintToStringBufferSize];
6363
static inline void uintToString(LargestUInt value, char*& current) {
6464
*--current = 0;
6565
do {
66-
*--current = static_cast<signed char>(value % 10U + static_cast<unsigned>('0'));
66+
*--current = static_cast<char>(value % 10U + static_cast<unsigned>('0'));
6767
value /= 10;
6868
} while (value != 0);
6969
}

0 commit comments

Comments
 (0)