Mercurial > sdl-ios-xcode
diff src/audio/esd/SDL_esdaudio.c @ 1379:c0a74f199ecf
Use only safe string functions
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 19 Feb 2006 23:46:34 +0000 |
parents | e440d5c488c1 |
children | d910939febfa |
line wrap: on
line diff
--- a/src/audio/esd/SDL_esdaudio.c Sun Feb 19 23:38:57 2006 +0000 +++ b/src/audio/esd/SDL_esdaudio.c Sun Feb 19 23:46:34 2006 +0000 @@ -85,7 +85,7 @@ if ( esd_handle ) { esd_loaded = 1; retval = 0; - for ( i=0; i<SDL_TABLESIZE(esd_functions); ++i ) { + for ( i=0; i<SDL_arraysize(esd_functions); ++i ) { *esd_functions[i].func = SDL_LoadFunction(esd_handle, esd_functions[i].name); if ( !*esd_functions[i].func ) { retval = -1;