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
Mon Oct 12 15:50:08 UTC 2020


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



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/82/20582/1

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: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/b4ea6fde/attachment.htm>


More information about the gerrit-log mailing list