File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1010
1111#include < vector>
1212#include < limits.h>
13+ #include < inttypes.h>
1314
1415#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
1516#include < signal.h>
@@ -169,7 +170,7 @@ static int eval_image(gemma3_context & ctx, std::string & fname) {
169170 clip_image_u8_free (img_u8);
170171 return 1 ;
171172 }
172- LOG (" Image encoded in %lld ms\n " , ggml_time_ms () - t0);
173+ LOG (" Image encoded in %" PRId64 " ms\n " , ggml_time_ms () - t0);
173174
174175 clip_image_f32_batch_free (&batch_f32);
175176 clip_image_u8_free (img_u8);
@@ -186,7 +187,7 @@ static int eval_image(gemma3_context & ctx, std::string & fname) {
186187 ctx.n_past += n_tokens;
187188 llama_set_causal_attn (ctx.lctx , true );
188189 eval_text (ctx, " <end_of_image>" );
189- LOG (" Image decoded in %lld ms\n " , ggml_time_ms () - t1);
190+ LOG (" Image decoded in %" PRId64 " ms\n " , ggml_time_ms () - t1);
190191 return 0 ;
191192}
192193
You can’t perform that action at this time.
0 commit comments