Removed uses of stdlib.h and string.h
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401342
This commit is contained in:
parent
098fe1b8e9
commit
09cd73f1b5
192 changed files with 455 additions and 666 deletions
|
@ -589,7 +589,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
/* Parse C-string into argv and argc */
|
||||
nargs = ParseCommandLine (commandLine, NULL);
|
||||
args = (char **)SDL_malloc((nargs+1)*(sizeof *args));
|
||||
args = (char **)malloc((nargs+1)*(sizeof *args));
|
||||
if ( args == NULL ) {
|
||||
exit(-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue