diff options
author | Kevin Lange <k@dakko.us> | 2011-12-04 04:06:30 -0600 |
---|---|---|
committer | Kevin Lange <k@dakko.us> | 2011-12-04 04:06:30 -0600 |
commit | bbeebb1208374a0f2d8f6b4459736450ef20ea6f (patch) | |
tree | 3af0ddf0c2cd23e681ab0b4db6f5702e2ddbbc44 | |
parent | ab1fc8c49a073ba02bb7ac96c09bacb3d1ff93c3 (diff) | |
download | nyancat-bbeebb1208374a0f2d8f6b4459736450ef20ea6f.tar.gz |
Um, derp
-rw-r--r-- | src/nyancat.c | 2 |
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(¤t); 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) { |