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
Sat Jun 13 22:43:58 UTC 2020


lynxis lazus has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/22/18822/1

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: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200613/9fe3f995/attachment.htm>


More information about the gerrit-log mailing list