Change in libosmocore[master]: gad.c: fix rc for osmo_gad_enc_ell_point_unc_circle()

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

neels gerrit-no-reply at lists.osmocom.org
Thu Oct 15 01:02:05 UTC 2020


neels has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/20582 )

Change subject: gad.c: fix rc for osmo_gad_enc_ell_point_unc_circle()
......................................................................

gad.c: fix rc for osmo_gad_enc_ell_point_unc_circle()

Related: CID#214889
Change-Id: If9bb6ab22280e0dc66ca21bba9409d817603dd4f
---
M src/gsm/gad.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gsm/gad.c b/src/gsm/gad.c
index f7ee48a..23b907a 100644
--- a/src/gsm/gad.c
+++ b/src/gsm/gad.c
@@ -271,7 +271,7 @@
 	};
 	osmo_store32be_ext(osmo_gad_enc_lat(v->lat), raw->lat, 3);
 	osmo_store32be_ext(osmo_gad_enc_lon(v->lon), raw->lon, 3);
-	return sizeof(&raw);
+	return sizeof(raw);
 }
 
 static int osmo_gad_dec_ell_point_unc_circle(struct osmo_gad_ell_point_unc_circle *v,

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If9bb6ab22280e0dc66ca21bba9409d817603dd4f
Gerrit-Change-Number: 20582
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
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/20201015/7e9d45c4/attachment.htm>


More information about the gerrit-log mailing list