fix int types

This commit is contained in:
Andrew Pamment 2018-05-26 22:16:33 +10:00
parent 718517887f
commit ec09e7a251
2 changed files with 8 additions and 8 deletions

View File

@ -19,14 +19,14 @@ struct msgarea_t {
}; };
struct msg_t { struct msg_t {
int area; uint32_t area;
char from[32]; char from[32];
char to[32]; char to[32];
char subject[64]; char subject[64];
uint32_t timedate; uint32_t timedate;
int oaddr; uint32_t oaddr;
int daddr; uint32_t daddr;
int type; uint32_t type;
char reply[36]; char reply[36];
} __attribute__ ((packed)); } __attribute__ ((packed));

View File

@ -28,14 +28,14 @@ struct msgarea_t {
}; };
struct msg_t { struct msg_t {
int area; uint32_t area;
char from[32]; char from[32];
char to[32]; char to[32];
char subject[64]; char subject[64];
uint32_t timedate; uint32_t timedate;
int oaddr; uint32_t oaddr;
int daddr; uint32_t daddr;
int type; uint32_t type;
char reply[36]; char reply[36];
} __attribute__ ((packed)); } __attribute__ ((packed));