diff options
author | Edwin Vane <edwin.vane@intel.com> | 2012-07-26 13:40:14 -0400 |
---|---|---|
committer | Edwin Vane <edwin.vane@intel.com> | 2012-08-02 09:17:53 -0400 |
commit | ae06933cdeb61b1145a1245ea3f40a3d159d215b (patch) | |
tree | da994928a68951eef143337fc5e263c85489af7c /adb | |
parent | 97d2aef6d231b57afb7e08ef871506e98cf1f171 (diff) | |
download | system_core-ae06933cdeb61b1145a1245ea3f40a3d159d215b.zip system_core-ae06933cdeb61b1145a1245ea3f40a3d159d215b.tar.gz system_core-ae06933cdeb61b1145a1245ea3f40a3d159d215b.tar.bz2 |
Trivial signed/unsigned warning fix for adbd
Change-Id: Icd674006bb2b526166960b4f90eb274030d80439
Author: Edwin Vane <edwin.vane@intel.com>
Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
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)); |