Skip to content

Commit

Permalink
Update logging.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchang0812 committed Sep 22, 2014
1 parent 7e0dcb9 commit a7574d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/logging.cc
Expand Up @@ -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);
}

Expand Down

0 comments on commit a7574d4

Please sign in to comment.