Przeglądaj źródła

* Removed ; from INTPTR_* defines (since r13449).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14472 54d463be-8e91-2dee-dedb-b68131a5f0ec
ai4rei 14 lat temu
rodzic
commit
ab52f3ecc5
2 zmienionych plików z 6 dodań i 5 usunięć
  1. 1 0
      Changelog-Trunk.txt
  2. 5 5
      src/common/cbasetypes.h

+ 1 - 0
Changelog-Trunk.txt

@@ -11,6 +11,7 @@ Date	Added
 	* Fixed WFIFOL being used instead of WFIFOW for a short field of packet 0x2710 (bugreport:2819). [Ai4rei]
 	* Made script command getmapxy print a warning, if an invalid type is supplied (related r69, r8459). [Ai4rei]
 	* Fixed pc_marriage not checking spouse character job for baby class. [Ai4rei]
+	* Removed ; from INTPTR_* defines (since r13449). [Ai4rei]
 2010/11/16
 	* Added a missing argument to a warning containing a format specifier. [Paradox924X]
 2010/11/15

+ 5 - 5
src/common/cbasetypes.h

@@ -205,15 +205,15 @@ typedef uint64 uintptr;
 typedef int64 intptr;
 #define UINTPTR_MIN UINT64_MIN
 #define UINTPTR_MAX UINT64_MAX
-#define INTPTR_MIN INT64_MIN;
-#define INTPTR_MAX INT64_MAX;
+#define INTPTR_MIN INT64_MIN
+#define INTPTR_MAX INT64_MAX
 #else
 typedef uint32 uintptr;
 typedef int32 intptr;
 #define UINTPTR_MIN UINT32_MIN
 #define UINTPTR_MAX UINT32_MAX
-#define INTPTR_MIN INT32_MIN;
-#define INTPTR_MAX INT32_MAX;
+#define INTPTR_MIN INT32_MIN
+#define INTPTR_MAX INT32_MAX
 #endif
 
 
@@ -254,7 +254,7 @@ typedef char bool;
 #define true	(1==1)
 
 //////////////////////////////
-#endif // not cplusplus
+#endif // not __cplusplus
 //////////////////////////////
 
 //////////////////////////////////////////////////////////////////////////