[PATCH mepo] Explicitly cast curl_off_t values to avoid cross build errors
Export this patch
From: tranzystorekk <tranzystorek.io@protonmail.com>
---
src/TileCache.zig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/TileCache.zig b/src/TileCache.zig
index f1fcb20..cb03b63 100644
--- a/src/TileCache.zig
+++ b/src/TileCache.zig
@@ -338,8 +338,8 @@ fn curl_callback_tile_xferinfo(
_ = ul_total;
_ = ul_now;
const tile_data: *TransferDatum = @alignCast(@ptrCast(user_data));
- tile_data.progress_dl_now = dl_now;
- tile_data.progress_dl_total = dl_total;
+ tile_data.progress_dl_now = @intCast(dl_now);
+ tile_data.progress_dl_total = @intCast(dl_total);
return curl.CURL_PROGRESSFUNC_CONTINUE;
}
--
2.45.2
Thanks - applied!