mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[misc] fix Clang warnings
This commit is contained in:
parent
f1929d7014
commit
8506e47fd3
6 changed files with 16 additions and 13 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue