Merge "Trivial signed/unsigned warning fix for adbd"

This commit is contained in:
Stephen Hines 2012-08-08 15:27:17 -07:00 committed by android code review
commit f889f0dba4

View file

@ -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));