From 6bfedcafc75cd2c6bd5ca75ed4a7755c2e7a1e9e Mon Sep 17 00:00:00 2001 From: Essem Date: Sat, 25 Apr 2026 14:12:02 -0500 Subject: [PATCH] fix: Manually cast y position on reddit to int Actually fixes macOS build. --- natives/image/reddit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives/image/reddit.cc b/natives/image/reddit.cc index b21836db..e7d8dddd 100644 --- a/natives/image/reddit.cc +++ b/natives/image/reddit.cc @@ -48,7 +48,7 @@ CmdOutput esmb::Image::Reddit(const string &type, string &outType, const char *b VImage composited = tmpl.composite2( textImage, VIPS_BLEND_MODE_OVER, - VImage::option()->set("x", (int)64)->set("y", (tmpl.height() - baseline) - 64 + textImage.yoffset())); + VImage::option()->set("x", 64)->set("y", static_cast((tmpl.height() - baseline) - 64 + textImage.yoffset()))); VImage watermark = composited.resize((double)width / (double)composited.width()); vector img; -- 2.51.2