Fixed build warning

This commit is contained in:
punkrockguy318 2008-08-10 09:54:59 +00:00
parent 36d4f31a61
commit 4060708067
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ static int savestate_create(lua_State *L) {
filename = FCEU_MakeFName(FCEUMKF_STATE, which - 1, 0); filename = FCEU_MakeFName(FCEUMKF_STATE, which - 1, 0);
} }
else { else {
filename = tempnam(NULL, "snlua"); filename = mkstemp("snlua");
} }
// Our "object". We don't care about the type, we just need the memory and GC services. // Our "object". We don't care about the type, we just need the memory and GC services.