[PATCH] fix format warnings added by 86ec3118

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/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Wed Dec 23 14:12:39 UTC 2015


Commit 86ec3118 ("msgb: Let msgb_hexdump be more tolerant") added new format
warnings to my 64bit build of libosmocore.

It's not a pressing matter, really, but the libosmocore build is otherwise
clean of such warnings so it'd be nice to keep it that way.

This patch fixes the warnings by using PRIdPTR. That seems to be the Correct
Way to fix it, but I'm a bit unsure.

Thanks for any thoughts!

Neels Hofmeyr (1):
  Fix some recently added formats on 64bit

 src/msgb.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

-- 
2.1.4



More information about the OpenBSC mailing list