diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2019-06-14 18:48:31 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2019-06-14 18:48:31 -0700 |
commit | 2625e7083ff118e8da856eb1dd04d39d2a527e22 (patch) | |
tree | 72b04289561812bf1a52d5c14cfa2e6986cd76e1 /android/2.0/location_api/MeasurementAPIClient.cpp | |
parent | 2d333ab2d898e1119576b2507fa5f1e95b90d124 (diff) | |
parent | 3bbb89aee1a89cc7d268927ac8265a70a330f2fb (diff) | |
download | gps-2625e7083ff118e8da856eb1dd04d39d2a527e22.tar.gz |
Merge 3bbb89aee1a89cc7d268927ac8265a70a330f2fb on remote branch
Change-Id: I8ce184682331aed809cdf4e36611ccd7b84c02e3
Diffstat (limited to 'android/2.0/location_api/MeasurementAPIClient.cpp')
-rw-r--r-- | android/2.0/location_api/MeasurementAPIClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/2.0/location_api/MeasurementAPIClient.cpp b/android/2.0/location_api/MeasurementAPIClient.cpp index eb0c7d1..dc972ec 100644 --- a/android/2.0/location_api/MeasurementAPIClient.cpp +++ b/android/2.0/location_api/MeasurementAPIClient.cpp @@ -217,7 +217,7 @@ void MeasurementAPIClient::onGnssMeasurementsCb( static void convertGnssMeasurement(GnssMeasurementsData& in, V1_0::IGnssMeasurementCallback::GnssMeasurement& out) { - memset(&out, 0, sizeof(IGnssMeasurementCallback::GnssMeasurement)); + memset(&out, 0, sizeof(out)); if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR; if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) |