diff --git a/src/apps/http/makefsdata/makefsdata.c b/src/apps/http/makefsdata/makefsdata.c index 01582c19..f4dbde4e 100644 --- a/src/apps/http/makefsdata/makefsdata.c +++ b/src/apps/http/makefsdata/makefsdata.c @@ -455,9 +455,9 @@ int process_sub(FILE *data_file, FILE *struct_file) if (ret == 0) { #if (defined _MSC_VER || defined __MINGW32__) && (defined _UNICODE) - size_t i; + size_t num_char_converted; char currName[256]; - wcstombs_s(&i, currName, sizeof(currName), file.name, sizeof(currName)); + wcstombs_s(&num_char_converted, currName, sizeof(currName), file.name, sizeof(currName)); #else const char *currName = file.name; #endif @@ -495,9 +495,9 @@ int process_sub(FILE *data_file, FILE *struct_file) if (ret == 0) { if (!file.is_dir) { #if (defined _MSC_VER || defined __MINGW32__) && (defined _UNICODE) - size_t i; + size_t num_char_converted; char curName[256]; - wcstombs_s(&i, curName, sizeof(curName), file.name, sizeof(curName)); + wcstombs_s(&num_char_converted, curName, sizeof(curName), file.name, sizeof(curName)); #else const char *curName = file.name; #endif