diff options
author | George Burgess IV <gbiv@google.com> | 2017-07-07 21:15:40 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-07 21:15:40 +0000 |
commit | 363fff4b811cb320b26e064c0d63f5cbab4b3157 (patch) | |
tree | 61799f94c4adf7d70b04d6cbc4838026de62c8f9 /halimpl | |
parent | b49b2c4bfcd0bfc773e08ac6278270a36f52c93e (diff) | |
parent | d2c6be9daf66e9a9bab30597234ff22e64ef950f (diff) | |
download | android_hardware_broadcom_nfc-363fff4b811cb320b26e064c0d63f5cbab4b3157.tar.gz android_hardware_broadcom_nfc-363fff4b811cb320b26e064c0d63f5cbab4b3157.tar.bz2 android_hardware_broadcom_nfc-363fff4b811cb320b26e064c0d63f5cbab4b3157.zip |
Fix signed/unsigned comparison warning in bcm2079x halimpl
am: d2c6be9daf
Change-Id: I9ab1d657470530d04a3c1aa0b5865d7574cedfac
Diffstat (limited to 'halimpl')
-rw-r--r-- | halimpl/bcm2079x/adaptation/spdhelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/halimpl/bcm2079x/adaptation/spdhelper.cpp b/halimpl/bcm2079x/adaptation/spdhelper.cpp index 7acb52c..b936753 100644 --- a/halimpl/bcm2079x/adaptation/spdhelper.cpp +++ b/halimpl/bcm2079x/adaptation/spdhelper.cpp @@ -56,7 +56,7 @@ bool SpdHelper::isPatchBadImpl(uint8_t* prm, uint32_t len) { string strNew; // Get the patch ID from the prm data. - for (int i = 0; i < 8 && i < len; ++i) strNew.append(toHex(*prm++)); + for (uint32_t i = 0; i < 8 && i < len; ++i) strNew.append(toHex(*prm++)); // If it is not the same patch as before, then reset things. if (strNew != mPatchId) { |