blockchain_stats: fix sign in formatting function

This commit is contained in:
moneromooo-monero 2018-12-07 16:35:19 +00:00
parent adaea3ea3c
commit 113e487739
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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;
}
}