Skip to content

Commit 6e1c4f0

Browse files
committed
fix build
1 parent 5cf1cc5 commit 6e1c4f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/llava/gemma3-cli.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static int eval_image(gemma3_context & ctx, std::string & fname) {
169169
clip_image_u8_free(img_u8);
170170
return 1;
171171
}
172-
LOG("Image encoded in %ld ms\n", ggml_time_ms() - t0);
172+
LOG("Image encoded in %lld ms\n", ggml_time_ms() - t0);
173173

174174
clip_image_f32_batch_free(&batch_f32);
175175
clip_image_u8_free(img_u8);
@@ -186,7 +186,7 @@ static int eval_image(gemma3_context & ctx, std::string & fname) {
186186
ctx.n_past += n_tokens;
187187
llama_set_causal_attn(ctx.lctx, true);
188188
eval_text(ctx, "<end_of_image>");
189-
LOG("Image decoded in %ld ms\n", ggml_time_ms() - t1);
189+
LOG("Image decoded in %lld ms\n", ggml_time_ms() - t1);
190190
return 0;
191191
}
192192

0 commit comments

Comments
 (0)