diff options
Diffstat (limited to 'mysys/mf_tempfile.c')
-rw-r--r-- | mysys/mf_tempfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c index 44826ad57c2..e78cb3ca2ae 100644 --- a/mysys/mf_tempfile.c +++ b/mysys/mf_tempfile.c @@ -43,7 +43,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix, DBUG_ENTER("open_temp_file"); #if defined(_MSC_VER) { - char *end,*res,**old_env,*temp_env[1]; + char temp[FN_REFLEN],*end,*res,**old_env,*temp_env[1]; old_env=environ; if (dir) { |