adb: change unsigned to uint32_t in sync struct definitions.

Change-Id: I9757ab853cfad1a2e1393ef32bcab222ab84acef
(cherry picked from commit 69469c4e9f)
This commit is contained in:
Josh Gao 2016-02-19 13:41:33 -08:00
parent cd2039e484
commit 8d68591c46

View file

@ -41,25 +41,25 @@ struct SyncRequest {
union syncmsg {
struct __attribute__((packed)) {
unsigned id;
unsigned mode;
unsigned size;
unsigned time;
uint32_t id;
uint32_t mode;
uint32_t size;
uint32_t time;
} stat;
struct __attribute__((packed)) {
unsigned id;
unsigned mode;
unsigned size;
unsigned time;
unsigned namelen;
uint32_t id;
uint32_t mode;
uint32_t size;
uint32_t time;
uint32_t namelen;
} dent;
struct __attribute__((packed)) {
unsigned id;
unsigned size;
uint32_t id;
uint32_t size;
} data;
struct __attribute__((packed)) {
unsigned id;
unsigned msglen;
uint32_t id;
uint32_t msglen;
} status;
};