Change in osmo-bsc[master]: Meas Tools, Avoid compiler format warnings

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

keith gerrit-no-reply at lists.osmocom.org
Sat Mar 28 13:15:33 UTC 2020


keith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/17649 )

Change subject: Meas Tools, Avoid compiler format warnings
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/c/osmo-bsc/+/17649/1/src/utils/meas_vis.c 
File src/utils/meas_vis.c:

https://gerrit.osmocom.org/c/osmo-bsc/+/17649/1/src/utils/meas_vis.c@207 
PS1, Line 207: (int)
> The last format string modifier is %4u, so it's unsigned. This solution does not look right to me. […]
format ‘%u’ expects argument of type ‘unsigned int’, but argument 10 has type ‘time_t {aka long int}’ 

How about cast to  u_int?



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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I8d807ffc4571f2954e3d1083da673dc1235e7687
Gerrit-Change-Number: 17649
Gerrit-PatchSet: 1
Gerrit-Owner: keith <keith at rhizomatica.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: keith <keith at rhizomatica.org>
Gerrit-Comment-Date: Sat, 28 Mar 2020 13:15:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <axilirator at gmail.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200328/b302343b/attachment.htm>


More information about the gerrit-log mailing list