about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappedlibc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped32/wrappedlibc.c')
-rwxr-xr-xsrc/wrapped32/wrappedlibc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped32/wrappedlibc.c b/src/wrapped32/wrappedlibc.c
index a43ca311..8665f593 100755
--- a/src/wrapped32/wrappedlibc.c
+++ b/src/wrapped32/wrappedlibc.c
@@ -321,7 +321,7 @@ static void* findftwFct(void* fct)
 static uintptr_t my32_ftw64_fct_##A = 0;                                            \
 static int my32_ftw64_##A(void* fpath, void* sb, int flag)                          \
 {                                                                                   \
-    struct i386_stat64 i386st;                                                      \
+    static struct i386_stat64 i386st;                                               \
     UnalignStat64_32(sb, &i386st);                                                  \
     return (int)RunFunctionFmt(my32_ftw64_fct_##A, "ppi", fpath, &i386st, flag);    \
 }