Change in simtrace2[master]: DFU: fix Wformat compile warning

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Tue Aug 28 17:44:07 UTC 2018


Kévin Redon has uploaded this change for review. ( https://gerrit.osmocom.org/10672


Change subject: DFU: fix Wformat compile warning
......................................................................

DFU: fix Wformat compile warning

Change-Id: I8c422d8a709f8311c40d37e1f1f01dcd3a199b6f
---
M firmware/apps/dfu/main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/72/10672/1

diff --git a/firmware/apps/dfu/main.c b/firmware/apps/dfu/main.c
index 7f8fbfc..f9b6aed 100644
--- a/firmware/apps/dfu/main.c
+++ b/firmware/apps/dfu/main.c
@@ -256,7 +256,7 @@
 	TRACE_INFO("Serial Nr. %08x-%08x-%08x-%08x\n\r",
 		   g_unique_id[0], g_unique_id[1],
 		   g_unique_id[2], g_unique_id[3]);
-	TRACE_INFO("Reset Cause: 0x%x\n\r", reset_cause);
+	TRACE_INFO("Reset Cause: 0x%lx\n\r", reset_cause);
 
 #if (TRACE_LEVEL >= TRACE_LEVEL_INFO)
 	/* Find out why we are in the DFU bootloader, and not the main application */

-- 
To view, visit https://gerrit.osmocom.org/10672
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8c422d8a709f8311c40d37e1f1f01dcd3a199b6f
Gerrit-Change-Number: 10672
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180828/63322e98/attachment.htm>


More information about the gerrit-log mailing list