summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-08-08 16:02:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-08 16:02:44 -0700
commit7accfc2ffd3d0fb6e6e8985349e8773f1977df59 (patch)
tree42e21df3b640f06891e39c301330cc0d830481f9 /adb
parente7b2a43638956250d329a9ddb4eda21cd0a16ac7 (diff)
parentf889f0dba404d0dfb75fb33ad1df152129b0a7d2 (diff)
downloadsystem_core-7accfc2ffd3d0fb6e6e8985349e8773f1977df59.zip
system_core-7accfc2ffd3d0fb6e6e8985349e8773f1977df59.tar.gz
system_core-7accfc2ffd3d0fb6e6e8985349e8773f1977df59.tar.bz2
am f889f0db: Merge "Trivial signed/unsigned warning fix for adbd"
* commit 'f889f0dba404d0dfb75fb33ad1df152129b0a7d2': Trivial signed/unsigned warning fix for adbd
Diffstat (limited to 'adb')
-rw-r--r--adb/transport_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/transport_local.c b/adb/transport_local.c
index 105c502..96a24ba 100644
--- a/adb/transport_local.c
+++ b/adb/transport_local.c
@@ -266,7 +266,7 @@ static const char _ok_resp[] = "ok";
/* Send the 'accept' request. */
res = adb_write(fd, _accept_req, strlen(_accept_req));
- if (res == strlen(_accept_req)) {
+ if ((size_t)res == strlen(_accept_req)) {
/* Wait for the response. In the response we expect 'ok' on success,
* or 'ko' on failure. */
res = adb_read(fd, tmp, sizeof(tmp));