diff options
author | qctecmdr <qctecmdr@localhost> | 2019-06-01 20:09:58 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-06-01 20:09:58 -0700 |
commit | 052afd6e47e58c88f00ea353f601592d308cbc72 (patch) | |
tree | 637461ed7ae2b9599cd02539d65d5ca0afd4b381 /android | |
parent | 5a5989edd8a78dca5332cc913a9a37a2120b20d0 (diff) | |
parent | 41a8510ce10241134f4a9b86d9e1182d06f96cde (diff) | |
download | gps-052afd6e47e58c88f00ea353f601592d308cbc72.tar.gz |
Merge "KW issues on LA.UM.8.12"
Diffstat (limited to 'android')
-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) |