Vulkan: Fix fprintf format-security warning

This commit is contained in:
0cc4m 2025-07-19 09:45:31 +00:00
parent b17230917c
commit 0a0af0dbbd
1 changed files with 2 additions and 2 deletions

View File

@ -765,8 +765,8 @@ void write_output_files() {
len += "};\n";
}
}
fprintf(src, data.c_str());
fprintf(src, len.c_str());
fputs(data.c_str(), src);
fputs(len.c_str(), src);
}
fclose(hdr);
fclose(src);