From: John Hodge Date: Fri, 29 Mar 2013 07:57:59 +0000 (+0800) Subject: AcessNative - Fixed alignment on request header X-Git-Tag: rel0.15~528 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4e0de6eddfcee9893e613645fdfc9cbd4cc6f667;p=tpg%2Facess2.git AcessNative - Fixed alignment on request header --- diff --git a/AcessNative/syscalls.h b/AcessNative/syscalls.h index b9661bcf..cef8dd01 100644 --- a/AcessNative/syscalls.h +++ b/AcessNative/syscalls.h @@ -27,13 +27,13 @@ typedef struct sRequestValue { } tRequestValue; typedef struct sRequestHeader { - uint16_t ClientID; - uint16_t CallID; //!< \see eSyscalls + uint32_t ClientID; uint32_t MessageLength; + uint16_t CallID; //!< \see eSyscalls uint16_t NParams; tRequestValue Params[]; -} tRequestHeader; +} __attribute__((packed)) tRequestHeader; enum eSyscalls {