summaryrefslogtreecommitdiffstats
path: root/halimpl
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2017-06-25 15:33:02 -0700
committerAndre Eisenbach <eisenbach@google.com>2017-07-07 19:25:47 +0000
commitd2c6be9daf66e9a9bab30597234ff22e64ef950f (patch)
treeb0d71c02dbe22e10175e7f91ac3e5187af23bbec /halimpl
parent85be705e843cc99a1903d5519bfed3c8c339404b (diff)
downloadandroid_hardware_broadcom_nfc-d2c6be9daf66e9a9bab30597234ff22e64ef950f.tar.gz
android_hardware_broadcom_nfc-d2c6be9daf66e9a9bab30597234ff22e64ef950f.tar.bz2
android_hardware_broadcom_nfc-d2c6be9daf66e9a9bab30597234ff22e64ef950f.zip
Fix signed/unsigned comparison warning in bcm2079x halimpl
Test: Compile; Warning no longer appears. Change-Id: I7ddac2d88bba2e33d22a169598a5c76933ac8874
Diffstat (limited to 'halimpl')
-rw-r--r--halimpl/bcm2079x/adaptation/spdhelper.cpp2
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) {