Skip to content

Commit 01af536

Browse files
committed
Fix macos compile
1 parent dc32392 commit 01af536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stable-diffusion.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1265,8 +1265,8 @@ class StableDiffusionGGML {
12651265
ggml_tensor_scale_output(output);
12661266
}
12671267
sd_image_t image = {
1268-
output->ne[0],
1269-
output->ne[1],
1268+
(uint32_t)output->ne[0],
1269+
(uint32_t)output->ne[1],
12701270
3,
12711271
sd_tensor_to_image(output)};
12721272
preview_cb(-1, image);

0 commit comments

Comments
 (0)