summaryrefslogtreecommitdiffstats
path: root/adb/sysdeps_win32_test.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-01-15 12:14:24 -0800
committerDan Albert <danalbert@google.com>2016-01-15 12:18:14 -0800
commitbac7bb5c16b6725436c61c6785701d9b51ed28f6 (patch)
treea94d7a65aef1524a66cfadebae471fb954e5a6cb /adb/sysdeps_win32_test.cpp
parentebe04a9b891230f13b264342e5aed40ff28d4a10 (diff)
downloadcore-bac7bb5c16b6725436c61c6785701d9b51ed28f6.tar.gz
core-bac7bb5c16b6725436c61c6785701d9b51ed28f6.tar.bz2
core-bac7bb5c16b6725436c61c6785701d9b51ed28f6.zip
Fix a couple sign-comparison warnings.
Bug: http://b/26523949 Change-Id: Id33146b5544147945fee3f14f7f72f39bae449f6
Diffstat (limited to 'adb/sysdeps_win32_test.cpp')
-rwxr-xr-xadb/sysdeps_win32_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/sysdeps_win32_test.cpp b/adb/sysdeps_win32_test.cpp
index 81923cb60..1d4028173 100755
--- a/adb/sysdeps_win32_test.cpp
+++ b/adb/sysdeps_win32_test.cpp
@@ -66,7 +66,7 @@ TEST(sysdeps_win32, adb_getenv) {
const char* path_val = adb_getenv("PATH");
EXPECT_NE(nullptr, path_val);
if (path_val != nullptr) {
- EXPECT_GT(strlen(path_val), 0);
+ EXPECT_GT(strlen(path_val), 0U);
}
}