summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-08-08 17:44:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-08 17:44:03 -0700
commit5f73a6863f75c54feec73e0f8dad7160e219197e (patch)
treefcca8070aac2e050cbdf262571ff20a6d71f873e /adb
parent5d3cf721f438a12de6eec0a2af0bf8041feb14d8 (diff)
parent7accfc2ffd3d0fb6e6e8985349e8773f1977df59 (diff)
downloadsystem_core-5f73a6863f75c54feec73e0f8dad7160e219197e.zip
system_core-5f73a6863f75c54feec73e0f8dad7160e219197e.tar.gz
system_core-5f73a6863f75c54feec73e0f8dad7160e219197e.tar.bz2
am 7accfc2f: am f889f0db: Merge "Trivial signed/unsigned warning fix for adbd"
* commit '7accfc2ffd3d0fb6e6e8985349e8773f1977df59': 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));