From 69469c4e9ffac450f6807a06ca35edcbf2071071 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Fri, 19 Feb 2016 13:41:33 -0800 Subject: [PATCH] adb: change unsigned to uint32_t in sync struct definitions. Change-Id: I9757ab853cfad1a2e1393ef32bcab222ab84acef --- adb/file_sync_service.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/adb/file_sync_service.h b/adb/file_sync_service.h index 38382c1ed..460e9dc03 100644 --- a/adb/file_sync_service.h +++ b/adb/file_sync_service.h @@ -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; };