Skip to content

Commit 575e2c2

Browse files
author
Iwan Kawrakow
committed
Fix compiler warning
1 parent d0dfbf9 commit 575e2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ struct server_tokens {
13251325
n_batch,
13261326
true, // logits last
13271327
&new_n_past);
1328-
snprintf(buffer, 512, "processed in %d ms", ggml_time_ms() - t0);
1328+
snprintf(buffer, 512, "processed in %g ms", 1.*(ggml_time_ms() - t0));
13291329
LOG_INFO(buffer, {});
13301330
if (result != 0) {
13311331
snprintf(buffer, 512, "mtmd_helper_eval failed with status %d", result);

0 commit comments

Comments
 (0)