From 5f7ba50ec312d426a1afc04b6c35d66016ffc359 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 10 Aug 2008 18:13:34 +0000 Subject: [PATCH] fixed a build ERROR due to punkrockguy's fixed build warning. we'll figure out the right way to do it later. --- src/lua-engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua-engine.cpp b/src/lua-engine.cpp index be56bc0b..d33a5642 100644 --- a/src/lua-engine.cpp +++ b/src/lua-engine.cpp @@ -489,7 +489,7 @@ static int savestate_create(lua_State *L) { filename = FCEU_MakeFName(FCEUMKF_STATE, which - 1, 0); } else { - filename = mkstemp("snlua"); + filename = mktemp("snlua"); } // Our "object". We don't care about the type, we just need the memory and GC services.