~mil/mepo-devel

mepo: Explicitly cast curl_off_t values to avoid cross build errors v1 APPLIED

~tranzystorekk: 1
 Explicitly cast curl_off_t values to avoid cross build errors

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/mepo-devel/patches/54937/mbox | git am -3
Learn more about email & git

[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