diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-03-14 22:02:33 +0100 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-14 22:02:33 +0100 |
commit | 52d0b765ab58e7def9783623092f1891a4d7f427 (patch) | |
tree | 4531013dc846bac91acdae211592c0e811cfef4e /minadbd/transport.c | |
parent | am a7266ef0: Merge "separate fbdev-specific code out from minui" (diff) | |
parent | Merge "Recovery 64-bit compile issues" (diff) | |
download | android_bootable_recovery-52d0b765ab58e7def9783623092f1891a4d7f427.tar android_bootable_recovery-52d0b765ab58e7def9783623092f1891a4d7f427.tar.gz android_bootable_recovery-52d0b765ab58e7def9783623092f1891a4d7f427.tar.bz2 android_bootable_recovery-52d0b765ab58e7def9783623092f1891a4d7f427.tar.lz android_bootable_recovery-52d0b765ab58e7def9783623092f1891a4d7f427.tar.xz android_bootable_recovery-52d0b765ab58e7def9783623092f1891a4d7f427.tar.zst android_bootable_recovery-52d0b765ab58e7def9783623092f1891a4d7f427.zip |
Diffstat (limited to 'minadbd/transport.c')
-rw-r--r-- | minadbd/transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/minadbd/transport.c b/minadbd/transport.c index 4c0c97f75..92679f518 100644 --- a/minadbd/transport.c +++ b/minadbd/transport.c @@ -713,7 +713,7 @@ int readx(int fd, void *ptr, size_t len) char *p = ptr; int r; #if ADB_TRACE - int len0 = len; + size_t len0 = len; #endif D("readx: fd=%d wanted=%d\n", fd, (int)len); while(len > 0) { @@ -734,7 +734,7 @@ int readx(int fd, void *ptr, size_t len) } #if ADB_TRACE - D("readx: fd=%d wanted=%d got=%d\n", fd, len0, len0 - len); + D("readx: fd=%d wanted=%zu got=%zu\n", fd, len0, len0 - len); dump_hex( ptr, len0 ); #endif return 0; |