This commit is contained in:
Kevin Lange 2011-12-04 04:06:30 -06:00
parent ab1fc8c49a
commit bbeebb1208

View File

@ -565,7 +565,7 @@ ready:
time(&current); time(&current);
double diff = difftime(current, start); double diff = difftime(current, start);
/* Now count the length of the time difference so we can center */ /* Now count the length of the time difference so we can center */
int nLen = int(diff); int nLen = (int)diff;
int width = (80 - 29 - nLen) / 2; int width = (80 - 29 - nLen) / 2;
/* Spit out some spaces so that we're actually centered */ /* Spit out some spaces so that we're actually centered */
while (width) { while (width) {