mirror of https://gerrit.osmocom.org/libosmocore
gad.c: fix rc for osmo_gad_enc_ell_point_unc_circle()
Related: CID#214889 Change-Id: If9bb6ab22280e0dc66ca21bba9409d817603dd4f
This commit is contained in:
parent
9faeacd6a1
commit
b85c87aec6
|
@ -271,7 +271,7 @@ static int osmo_gad_enc_ell_point_unc_circle(struct gad_raw_ell_point_unc_circle
|
|||
};
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue