laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/41463?usp=email )

Change subject: loader_mtk: Fix compile error on debian trixie
......................................................................

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(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




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 https://gerrit.osmocom.org/c/osmocom-bb/+/41463?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia13d705321580d3a16036c21e27dfd2345285cb8
Gerrit-Change-Number: 41463
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>

Reply via email to