diff src/stdlib/SDL_string.c @ 5076:8bf5781fc582

Fixed size_t warnings on 64-bit build
author Sam Lantinga <slouken@libsdl.org>
date Sat, 22 Jan 2011 15:58:21 -0800
parents e2f4e31b41fc
children b530ef003506
line wrap: on
line diff
--- a/src/stdlib/SDL_string.c	Sat Jan 22 00:33:37 2011 -0800
+++ b/src/stdlib/SDL_string.c	Sat Jan 22 15:58:21 2011 -0800
@@ -408,7 +408,7 @@
 {
     size_t src_bytes = SDL_strlen(src);
     size_t bytes = SDL_min(src_bytes, dst_bytes - 1);
-    int i = 0;
+    size_t i = 0;
     char trailing_bytes = 0;
     if (bytes)
     {