Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d68591c authored by Josh Gao's avatar Josh Gao
Browse files

adb: change unsigned to uint32_t in sync struct definitions.

Change-Id: I9757ab853cfad1a2e1393ef32bcab222ab84acef
(cherry picked from commit 69469c4e)
parent cd2039e4
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -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;
};