src/video/ipod/SDL_ipodvideo.c
changeset 1336 3692456e7b0f
parent 1140 af8b0f9ac2f4
child 1338 604d73db6802
--- a/src/video/ipod/SDL_ipodvideo.c	Mon Feb 06 17:28:04 2006 +0000
+++ b/src/video/ipod/SDL_ipodvideo.c	Tue Feb 07 06:59:48 2006 +0000
@@ -65,7 +65,7 @@
     
     if ((file = fopen("/proc/cpuinfo", "r")) != NULL) {
 	while (fgets(cpuinfo, sizeof(cpuinfo), file) != NULL)
-	    if (strncmp(cpuinfo, "Revision", 8) == 0)
+	    if (SDL_strncmp(cpuinfo, "Revision", 8) == 0)
 		break;
 	fclose(file);
     }
@@ -73,7 +73,7 @@
     for (; isspace(cpuinfo[i]); i++);
     ptr = cpuinfo + i + 2;
     
-    return strtol(ptr, NULL, 10);
+    return SDL_strtol(ptr, NULL, 10);
 }
 
 static int iPod_Available()