gad.c: fix rc for osmo_gad_enc_ell_point_unc_circle()

Related: CID#214889
Change-Id: If9bb6ab22280e0dc66ca21bba9409d817603dd4f
This commit is contained in:
Neels Hofmeyr 2020-10-12 17:48:03 +02:00 committed by neels
parent 9faeacd6a1
commit b85c87aec6
1 changed files with 1 additions and 1 deletions

View File

@ -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,