Vulkan: Fix fprintf format-security warning (#14770)

This commit is contained in:
0cc4m 2025-07-19 17:47:53 +02:00 committed by GitHub
parent f0d4d176df
commit 83f5872404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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