Define B_GENERAL_ERROR_BASE to INT_MIN instead of LONG_MIN. On 32 bit

platforms it's the same value, but we actually want type int, not long.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36072 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-04-07 18:49:04 +00:00
parent b4ab2a2c37
commit 1f285441c3
+1 -1
View File
@@ -10,7 +10,7 @@
/* Error baselines */
#define B_GENERAL_ERROR_BASE LONG_MIN
#define B_GENERAL_ERROR_BASE INT_MIN
#define B_OS_ERROR_BASE (B_GENERAL_ERROR_BASE + 0x1000)
#define B_APP_ERROR_BASE (B_GENERAL_ERROR_BASE + 0x2000)
#define B_INTERFACE_ERROR_BASE (B_GENERAL_ERROR_BASE + 0x3000)