aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-07 16:35:19 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-01 19:24:47 +0000
commit113e487739ca0a02aade3751068ae7053c7bc9b1 (patch)
tree896bb2a36955ce0053def1860a02a99ff8bcfcb1 /src/blockchain_utilities
parentvarious: remove unused variables (diff)
downloadmonero-113e487739ca0a02aade3751068ae7053c7bc9b1.tar.xz
blockchain_stats: fix sign in formatting function
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r--src/blockchain_utilities/blockchain_stats.cpp2
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;
}
}