aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nyancat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nyancat.c b/src/nyancat.c
index 853cad0..64f0271 100644
--- a/src/nyancat.c
+++ b/src/nyancat.c
@@ -565,7 +565,7 @@ ready:
time(&current);
double diff = difftime(current, start);
/* 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;
/* Spit out some spaces so that we're actually centered */
while (width) {
lass='logheader'>2007-05-11update scan file for de-LeipzigChristoph Pfister1-5/+6 http://linuxtv.org/pipermail/linux-dvb/2007-May/017972.html 2007-05-06update scan file for es-MalagaChristoph Pfister1-16/+8 http://linuxtv.org/pipermail/linux-dvb/2007-May/017826.html 2007-05-06update scan file for uk-EmleyMoorChristoph Pfister1-1/+6 http://linuxtv.org/pipermail/linux-dvb/2007-May/017824.html 2007-05-04update scan file for Eurobird1-28.5EChristoph Pfister1-1/+3 http://linuxtv.org/pipermail/linux-dvb/2007-May/017788.html