aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Lange <k@dakko.us>2011-12-04 04:06:30 -0600
committerKevin Lange <k@dakko.us>2011-12-04 04:06:30 -0600
commitbbeebb1208374a0f2d8f6b4459736450ef20ea6f (patch)
tree3af0ddf0c2cd23e681ab0b4db6f5702e2ddbbc44
parentab1fc8c49a073ba02bb7ac96c09bacb3d1ff93c3 (diff)
downloadnyancat-bbeebb1208374a0f2d8f6b4459736450ef20ea6f.tar.gz
Um, derp
Diffstat (limited to '')
-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) {