diff options
Diffstat (limited to 'util/logging.cc')
-rw-r--r-- | util/logging.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/logging.cc b/util/logging.cc index ca6b324403..db6160c8f1 100644 --- a/util/logging.cc +++ b/util/logging.cc @@ -49,7 +49,7 @@ bool ConsumeDecimalNumber(Slice* in, uint64_t* val) { uint64_t v = 0; int digits = 0; while (!in->empty()) { - char c = (*in)[0]; + unsigned char c = (*in)[0]; if (c >= '0' && c <= '9') { ++digits; const int delta = (c - '0'); |