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
1 changed files with 1 additions and 1 deletions

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