Change in libosmocore[master]: libosmogsm: cosmetic: use '%u' instead of PRIu32 for uint32_t

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed May 13 20:30:30 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/18243 )


Change subject: libosmogsm: cosmetic: use '%u' instead of PRIu32 for uint32_t
......................................................................

libosmogsm: cosmetic: use '%u' instead of PRIu32 for uint32_t

There is no real need to use PRIu32, '%u' handles uint32_t too.

Change-Id: I4b6517989030c8e3f6a1bf16c43044e4e9137f40
---
M src/gsm/gsm0502.c
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/43/18243/1

diff --git a/src/gsm/gsm0502.c b/src/gsm/gsm0502.c
index 1a71e61..68740dc 100644
--- a/src/gsm/gsm0502.c
+++ b/src/gsm/gsm0502.c
@@ -29,7 +29,6 @@
 #include <osmocom/gsm/rsl.h>
 #include <osmocom/gsm/gsm_utils.h>
 #include <osmocom/core/logging.h>
-#include <inttypes.h>
 
 unsigned int
 gsm0502_calc_paging_group(struct gsm48_control_channel_descr *chan_desc, uint64_t imsi)
@@ -193,7 +192,7 @@
 	}
 
 	if (sub == -1) {
-		LOGP(DLGLOBAL, LOGL_ERROR, "could not remap frame number!, fn=%"PRIu32"\n", fn);
+		LOGP(DLGLOBAL, LOGL_ERROR, "could not remap frame number!, fn=%u\n", fn);
 		return fn;
 	}
 

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4b6517989030c8e3f6a1bf16c43044e4e9137f40
Gerrit-Change-Number: 18243
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200513/dae6cbdd/attachment.htm>


More information about the gerrit-log mailing list