Change in osmo-ggsn[master]: gtp: queue_test: Fix printf gcc warn under ARM

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
Fri Jul 10 10:12:32 UTC 2020


fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/19173 )

Change subject: gtp: queue_test: Fix printf gcc warn under ARM
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/c/osmo-ggsn/+/19173/1/tests/gtp/queue_test.c 
File tests/gtp/queue_test.c:

https://gerrit.osmocom.org/c/osmo-ggsn/+/19173/1/tests/gtp/queue_test.c@31 
PS1, Line 31: 		printf("%d\t%d\t%d\t%d\t%d\t%d\t%u\t%" PRIuPTR "\n",
So what are we printing here? An integer that is stored in as a pointer?

> but argument 9 has type 'unsigned int'

'%u' would work here then?



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

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ie9530cdd191386ca3f6c336684f81c4582c4d962
Gerrit-Change-Number: 19173
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Fri, 10 Jul 2020 10:12:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200710/c01a08c5/attachment.htm>


More information about the gerrit-log mailing list