Mercurial > sdl-ios-xcode
diff src/thread/amigaos/SDL_systhread.c @ 1338:604d73db6802
Removed uses of stdlib.h and string.h
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 09:29:18 +0000 |
parents | c9b51268668f |
children | c71e05b4dc2e |
line wrap: on
line diff
--- a/src/thread/amigaos/SDL_systhread.c Tue Feb 07 07:03:29 2006 +0000 +++ b/src/thread/amigaos/SDL_systhread.c Tue Feb 07 09:29:18 2006 +0000 @@ -102,7 +102,7 @@ D(bug("Sending %lx to the new thread...\n",args)); if(args) - sprintf(buffer,"%ld",args); + SDL_snprintf(buffer, SDL_arraysize(buffer),"%ld",args); #ifdef STORMC4_WOS thread->handle=CreateTaskPPCTags(TASKATTR_CODE, RunThread,