diff test/automated/rwops/rwops.c @ 3482:78db4f7ae2f3

More fixes to compile under Visual C++
author Sam Lantinga <slouken@libsdl.org>
date Sun, 22 Nov 2009 07:00:26 +0000
parents c32c53fca10d
children 947201caa46e
line wrap: on
line diff
--- a/test/automated/rwops/rwops.c	Sun Nov 22 06:42:58 2009 +0000
+++ b/test/automated/rwops/rwops.c	Sun Nov 22 07:00:26 2009 +0000
@@ -100,7 +100,7 @@
    if (SDL_ATassert( "Reading with SDL_RWread", i == sizeof(hello_world)-1 ))
       return 1;
    if (SDL_ATassert( "Memory read does not match memory written",
-            memcmp( buf, hello_world, sizeof(hello_world)-1 ) == 0 ))
+            SDL_memcmp( buf, hello_world, sizeof(hello_world)-1 ) == 0 ))
       return 1;
 
    /* More seek tests. */