diff options
Diffstat (limited to 'src')
| -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) { | 
