diff options
-rw-r--r-- | gnss/1.0/default/Gnss.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnss/1.0/default/Gnss.cpp b/gnss/1.0/default/Gnss.cpp index cfcee243bb..a27cdf3960 100644 --- a/gnss/1.0/default/Gnss.cpp +++ b/gnss/1.0/default/Gnss.cpp @@ -121,7 +121,7 @@ void Gnss::gnssSvStatusCb(GnssSvStatus* status) { svStatus.numSvs = status->num_svs; if (svStatus.numSvs > static_cast<uint32_t>(GnssMax::SVS_COUNT)) { - ALOGW("Too many satellites %zd. Clamps to %d.", svStatus.numSvs, GnssMax::SVS_COUNT); + ALOGW("Too many satellites %u. Clamps to %d.", svStatus.numSvs, GnssMax::SVS_COUNT); svStatus.numSvs = static_cast<uint32_t>(GnssMax::SVS_COUNT); } @@ -191,7 +191,7 @@ void Gnss::gpsSvStatusCb(GpsSvStatus* svInfo) { * GnssMax::SVS_COUNT entries. */ if (svStatus.numSvs > static_cast<uint32_t>(GnssMax::SVS_COUNT)) { - ALOGW("Too many satellites %zd. Clamps to %d.", svStatus.numSvs, GnssMax::SVS_COUNT); + ALOGW("Too many satellites %u. Clamps to %d.", svStatus.numSvs, GnssMax::SVS_COUNT); svStatus.numSvs = static_cast<uint32_t>(GnssMax::SVS_COUNT); } |