Fix compilation error with strict compiler rules
This commit is contained in:
parent
89e562e19b
commit
f65b369f16
Notes:
blender-bot
2023-02-14 09:36:38 +01:00
Referenced by issue #43784, Compositing scale node border error Referenced by issue #43293, Grease pencil crash on vse
|
@ -438,8 +438,7 @@ void BLI_cleanup_file(const char *relabase, char *path)
|
|||
*/
|
||||
void BLI_filename_make_safe(char *fname)
|
||||
{
|
||||
char *invalid = "/\\?%*:|\"<>. ";
|
||||
char *c;
|
||||
const char *invalid = "/\\?%*:|\"<>. ";
|
||||
|
||||
for (; *fname && (fname = strpbrk(fname, invalid)); fname++) {
|
||||
*fname = '_';
|
||||
|
|
Loading…
Reference in New Issue