Skip to content

Commit ef2ff87

Browse files
committed
Fix a clang warning
Resolves open-source-parsers#451.
1 parent b58c844 commit ef2ff87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_tool.h

Lines changed: 1 addition & 1 deletion
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)