Skip to content

Commit 49b5f94

Browse files
committed
Merge pull request XRPLF#306 from Liuchang0812/fix_cast
Update logging.cc
2 parents 57fa3cc + 787cb4d commit 49b5f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/logging.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int AppendHumanBytes(uint64_t bytes, char* output, int len) {
4545

4646
void AppendNumberTo(std::string* str, uint64_t num) {
4747
char buf[30];
48-
snprintf(buf, sizeof(buf), "%llu", (unsigned long long) num);
48+
snprintf(buf, sizeof(buf), "%" PRIu64, num);
4949
str->append(buf);
5050
}
5151

0 commit comments

Comments
 (0)