aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}