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>
This commit is contained in:
parent
97d2aef6d2
commit
ae06933cde
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue