mirror of
https://github.com/ggerganov/whisper.cpp
synced 2026-04-29 02:01:26 +02:00
Vulkan: Fix fprintf format-security warning (llama/14770)
This commit is contained in:
parent
5c3b794c51
commit
b06f314667
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user