src/test/SDL_test_assert.c
changeset 6762 c680e085a5f2
parent 6756 398073b195bb
child 6772 5229a117ef97
     1.1 --- a/src/test/SDL_test_assert.c	Tue Dec 18 06:35:49 2012 -0500
     1.2 +++ b/src/test/SDL_test_assert.c	Thu Dec 20 08:50:36 2012 -0800
     1.3 @@ -50,7 +50,7 @@
     1.4  	char logMessage[SDLTEST_MAX_LOGMESSAGE_LENGTH];
     1.5                  
     1.6  	// Print assert description into a buffer
     1.7 -	memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH);
     1.8 +	SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH);
     1.9  	va_start(list, assertDescription);
    1.10  	SDL_vsnprintf(logMessage, SDLTEST_MAX_LOGMESSAGE_LENGTH - 1, assertDescription, list);
    1.11  	va_end(list);
    1.12 @@ -69,7 +69,7 @@
    1.13  	char *logFormat = (char *)SDLTest_AssertCheckFormat;
    1.14                  
    1.15  	// Print assert description into a buffer
    1.16 -	memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH);
    1.17 +	SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH);
    1.18  	va_start(list, assertDescription);
    1.19  	SDL_vsnprintf(logMessage, SDLTEST_MAX_LOGMESSAGE_LENGTH - 1, assertDescription, list);
    1.20  	va_end(list);
    1.21 @@ -99,7 +99,7 @@
    1.22  	char *logFormat = (char *)SDLTest_AssertCheckFormat;
    1.23                  
    1.24  	// Print assert description into a buffer
    1.25 -	memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH);
    1.26 +	SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH);
    1.27  	va_start(list, assertDescription);
    1.28  	SDL_vsnprintf(logMessage, SDLTEST_MAX_LOGMESSAGE_LENGTH - 1, assertDescription, list);
    1.29  	va_end(list);