[misc] fix Clang warnings

This commit is contained in:
Pete Batard 2012-11-30 00:18:28 +00:00
parent f1929d7014
commit 8506e47fd3
6 changed files with 16 additions and 13 deletions

View file

@ -410,7 +410,7 @@ BOOL ExtractFreeDOS(const char* path)
res_data = (BYTE*)LockResource(res_handle);
res_size = SizeofResource(NULL, res);
strcpy(filename, (i<2)?path:locale_path);
safe_strcpy(filename, sizeof(filename), (i<2)?path:locale_path);
safe_strcat(filename, sizeof(filename), "\\");
safe_strcat(filename, sizeof(filename), res_name[i]);