summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-03-25 16:22:05 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2023-03-25 16:22:05 +0200
commit6b6dbc8910c6d53f4d96c46c8fcec70e2cd435d8 (patch)
tree0fbdf139b2f2d18f7a22d09f2d10726895334e1e /main.cpp
parent2a2e63ce0503d9bf3e55283e40a052c78c1cc3a8 (diff)
Remove obsolete assert and fix compiler warning
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 143585bf..32c3a68a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -478,7 +478,7 @@ int main(int argc, char ** argv) {
std::string buffer;
if (!params.input_prefix.empty()) {
buffer += params.input_prefix;
- printf(buffer.c_str());
+ printf("%s", buffer.c_str());
}
std::string line;