diff src/stdlib/SDL_string.c @ 3253:5d7ef5970073

Fixed issues building 64-bit Windows binary
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Sep 2009 23:37:35 +0000
parents 99210400e8b9
children f7b03b6838cb
line wrap: on
line diff
--- a/src/stdlib/SDL_string.c	Sat Sep 05 21:31:50 2009 +0000
+++ b/src/stdlib/SDL_string.c	Sat Sep 05 23:37:35 2009 +0000
@@ -1342,7 +1342,7 @@
     }
     *text = '\0';
 
-    return (text - textstart);
+    return (int)(text - textstart);
 }
 #endif
 /* vi: set ts=4 sw=4 expandtab: */