More fixes to compile under Visual C++

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404223
This commit is contained in:
Sam Lantinga 2009-11-22 07:00:26 +00:00
parent ccfc72055c
commit 224c8b5bec
6 changed files with 52 additions and 14 deletions

View file

@ -100,7 +100,7 @@ static int rwops_testGeneric( SDL_RWops *rw, int write )
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. */