diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-07 16:35:19 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-01 19:24:47 +0000 |
commit | 113e487739ca0a02aade3751068ae7053c7bc9b1 (patch) | |
tree | 896bb2a36955ce0053def1860a02a99ff8bcfcb1 | |
parent | various: remove unused variables (diff) | |
download | monero-113e487739ca0a02aade3751068ae7053c7bc9b1.tar.xz |
blockchain_stats: fix sign in formatting function
-rw-r--r-- | src/blockchain_utilities/blockchain_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_stats.cpp b/src/blockchain_utilities/blockchain_stats.cpp index 4cc84bf4a..33c26277e 100644 --- a/src/blockchain_utilities/blockchain_stats.cpp +++ b/src/blockchain_utilities/blockchain_stats.cpp @@ -205,7 +205,7 @@ plot 'stats.csv' index "DATA" using (timecolumn(1,"%Y-%m-%d")):4 with lines, '' char buf[8]; unsigned int i; for (i=0; i<24; i++) { - sprintf(buf, "\t%02d:00", i); + sprintf(buf, "\t%02u:00", i); std::cout << buf; } } |