mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-07-28 21:23:55 -04:00
Vulkan: Fix fprintf format-security warning (#14770)
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user