Vulkan: Fix fprintf format-security warning (#14770)
This commit is contained in:
1 parent
f0d4d176df
commit
83f5872404
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user