Update logging.cc

main
whu_liuchang 10 years ago
parent 7e0dcb953f
commit a7574d4fa1
  1. 2
      util/logging.cc

@ -45,7 +45,7 @@ int AppendHumanBytes(uint64_t bytes, char* output, int len) {
void AppendNumberTo(std::string* str, uint64_t num) {
char buf[30];
snprintf(buf, sizeof(buf), "%llu", static_cast(unsigned long long) num);
snprintf(buf, sizeof(buf), "%llu", static_cast<unsigned long long>(num));
str->append(buf);
}

Loading…
Cancel
Save