Change in osmo-bts[master]: scheduler_trx.c: cast ptrdiff value to fix printf format

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

pespin gerrit-no-reply at lists.osmocom.org
Tue Nov 26 09:52:11 UTC 2019


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/16215 )

Change subject: scheduler_trx.c: cast ptrdiff value to fix printf format
......................................................................


Patch Set 2:

> Patch Set 2:
> 
> actually %t seems to be the format string for ptrdiff_t

Yes %td, but I preferred simply casting because I was unsure old compilers would support it (quick reading looked like available only in fairly new std C). explicit cast should work also for really old compilers (which we use in some cross toolchains).


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I701b3dbc4e84db21cf02305d374b0df731e70313
Gerrit-Change-Number: 16215
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Tue, 26 Nov 2019 09:52:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191126/05119308/attachment.htm>


More information about the gerrit-log mailing list