Skip to content

Commit

Permalink
Merge pull request XRPLF#306 from Liuchang0812/fix_cast
Browse files Browse the repository at this point in the history
Update logging.cc
  • Loading branch information
igorcanadi committed Sep 22, 2014
2 parents 57fa3cc + 787cb4d commit 49b5f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/logging.cc
Original file line number Diff line number Diff line change
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", (unsigned long long) num);
snprintf(buf, sizeof(buf), "%" PRIu64, num);
str->append(buf);
}

Expand Down

0 comments on commit 49b5f94

Please sign in to comment.