summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-05-14 15:56:53 +0200
committerHaru <haru@dotalux.com>2016-05-14 15:56:53 +0200
commit64eaae34457c2d9ef32936bfd52d85623ebb24ca (patch)
treeda51983f08a8fb23b45762350d64d510354a70e0 /src/map/clif.c
parent00385f440944122d55f2c1fa27c537a4aefff9f2 (diff)
downloadhercules-64eaae34457c2d9ef32936bfd52d85623ebb24ca.tar.gz
hercules-64eaae34457c2d9ef32936bfd52d85623ebb24ca.tar.bz2
hercules-64eaae34457c2d9ef32936bfd52d85623ebb24ca.tar.xz
hercules-64eaae34457c2d9ef32936bfd52d85623ebb24ca.zip
Replaced 'unsigned int' with 'uint32' (guaranteed size) in all packed structs
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9b90b946e..259bc7253 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12821,7 +12821,7 @@ bool clif_validate_emblem(const uint8 *emblem, unsigned long emblem_len) {
//uint8 b;
//uint8 g;
//uint8 r;
- unsigned int rgb:24;
+ uint32 rgb:24;
} __attribute__((packed));
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
#pragma pack(pop)