Change in osmo-bts[master]: measurement: replace u_int64_t with uint64_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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jul 14 08:37:33 UTC 2020


lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/18822 )

Change subject: measurement: replace u_int64_t with uint64_t
......................................................................

measurement: replace u_int64_t with uint64_t

Be consistent and use everywhere uint64_t.

Change-Id: Id6b5df7f5045901109fe1007a5ad54e2f95b95f8
---
M src/common/measurement.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  neels: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/common/measurement.c b/src/common/measurement.c
index 3170e4a..17169ca 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -470,7 +470,7 @@
 
 	/* each measurement is an int32_t, so the squared difference value must fit in 32bits */
 	/* the sum of the squared values (each up to 32bit) can very easily exceed 32 bits */
-	u_int64_t sq_diff_sum = 0;
+	uint64_t sq_diff_sum = 0;
 
 	/* In case we do not have any measurement values collected there is no
 	 * computation possible. We just skip the whole computation here, the

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id6b5df7f5045901109fe1007a5ad54e2f95b95f8
Gerrit-Change-Number: 18822
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200714/0f8b722b/attachment.htm>


More information about the gerrit-log mailing list