diff options
author | Stephen Hines <srhines@google.com> | 2012-08-08 16:02:44 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-08 16:02:44 -0700 |
commit | 7accfc2ffd3d0fb6e6e8985349e8773f1977df59 (patch) | |
tree | 42e21df3b640f06891e39c301330cc0d830481f9 /adb | |
parent | e7b2a43638956250d329a9ddb4eda21cd0a16ac7 (diff) | |
parent | f889f0dba404d0dfb75fb33ad1df152129b0a7d2 (diff) | |
download | system_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.c | 2 |
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)); |