laforge has uploaded this change for review.
loader_mtk: Fix compile error on debian trixie
When using a stock debian trixie (13), we're running into a compile
error due to a missing typecast. Let's avoid that.
Change-Id: Ia13d705321580d3a16036c21e27dfd2345285cb8
---
M src/target/firmware/apps/loader_mtk/main.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/63/41463/1
diff --git a/src/target/firmware/apps/loader_mtk/main.c b/src/target/firmware/apps/loader_mtk/main.c
index 995d277..285d153 100644
--- a/src/target/firmware/apps/loader_mtk/main.c
+++ b/src/target/firmware/apps/loader_mtk/main.c
@@ -247,7 +247,7 @@
msgb_put_u8(reply, 1); // nchips
// chip 1
- msgb_put_u32(reply, the_flash.f_base);
+ msgb_put_u32(reply, (uint32_t) the_flash.f_base);
msgb_put_u32(reply, the_flash.f_size);
msgb_put_u8(reply, the_flash.f_nregions);
To view, visit change 41463. To unsubscribe, or for help writing mail filters, visit settings.