summaryrefslogtreecommitdiff
path: root/src/common/cbasetypes.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-19 09:15:00 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-19 09:15:00 +0000
commit70dc3acce080b3c4f5061c2394911149d0d82aa4 (patch)
tree7e9bcc793338ab564ad0fe6142dfdc6d651b78e7 /src/common/cbasetypes.h
parente73a29efa9a57ee1387af8626a8c20c5a780f42a (diff)
downloadhercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.tar.gz
hercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.tar.bz2
hercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.tar.xz
hercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.zip
- Cleanups or minor changes.
- Now addtick_timer invokes settick_timer, so keep an eye for whatever timer issues it's supposed to have. - Removed the flush_fifo from clif_parse_TickSend until the socket problems are fixed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9521 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/cbasetypes.h')
-rw-r--r--src/common/cbasetypes.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index f02b8734c..ad2b7c4ed 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -101,30 +101,30 @@ typedef unsigned int uint32;
#undef UINT8_MIN
#undef UINT16_MIN
#undef UINT32_MIN
-#define UINT8_MIN (uint8) 0
-#define UINT16_MIN (uint16)0
-#define UINT32_MIN (uint32)0
+#define UINT8_MIN ((uint8) 0)
+#define UINT16_MIN ((uint16)0)
+#define UINT32_MIN ((uint32)0)
#undef UINT8_MAX
#undef UINT16_MAX
#undef UINT32_MAX
-#define UINT8_MAX (uint8) 0xFF
-#define UINT16_MAX (uint16)0xFFFF
-#define UINT32_MAX (uint32)0xFFFFFFFF
+#define UINT8_MAX ((uint8) 0xFF)
+#define UINT16_MAX ((uint16)0xFFFF)
+#define UINT32_MAX ((uint32)0xFFFFFFFF)
#undef SINT8_MIN
#undef SINT16_MIN
#undef SINT32_MIN
-#define SINT8_MIN (sint8) 0x80
-#define SINT16_MIN (sint16)0x8000
-#define SINT32_MIN (sint32)0x80000000
+#define SINT8_MIN ((sint8) 0x80)
+#define SINT16_MIN ((sint16)0x8000)
+#define SINT32_MIN ((sint32)0x80000000)
#undef SINT8_MAX
#undef SINT16_MAX
#undef SINT32_MAX
-#define SINT8_MAX (sint8) 0x7F
-#define SINT16_MAX (sint16)0x7FFF
-#define SINT32_MAX (sint32)0x7FFFFFFF
+#define SINT8_MAX ((sint8) 0x7F)
+#define SINT16_MAX ((sint16)0x7FFF)
+#define SINT32_MAX ((sint32)0x7FFFFFFF)
//////////////////////////////////////////////////////////////////////////