Skip to content

Commit b6daf5c

Browse files
authoredJun 1, 2024··
fix: use PRI64 instead of %i for some log (#269)
1 parent be6cd1a commit b6daf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎stable-diffusion.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ sd_image_t* generate_image(sd_ctx_t* sd_ctx,
17171717
for (int b = 0; b < batch_count; b++) {
17181718
int64_t sampling_start = ggml_time_ms();
17191719
int64_t cur_seed = seed + b;
1720-
LOG_INFO("generating image: %i/%i - seed %i", b + 1, batch_count, cur_seed);
1720+
LOG_INFO("generating image: %i/%i - seed %" PRId64, b + 1, batch_count, cur_seed);
17211721

17221722
sd_ctx->sd->rng->manual_seed(cur_seed);
17231723
struct ggml_tensor* x_t = NULL;

0 commit comments

Comments
 (0)
Please sign in to comment.