From bbeebb1208374a0f2d8f6b4459736450ef20ea6f Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Sun, 4 Dec 2011 04:06:30 -0600 Subject: Um, derp --- src/nyancat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3