AcessNative - Fixed alignment on request header
authorJohn Hodge <[email protected]>
Fri, 29 Mar 2013 07:57:59 +0000 (15:57 +0800)
committerJohn Hodge <[email protected]>
Fri, 29 Mar 2013 07:57:59 +0000 (15:57 +0800)
AcessNative/syscalls.h

index b9661bc..cef8dd0 100644 (file)
@@ -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 {

UCC git Repository :: git.ucc.asn.au