Author: bonefish Date: 2010-04-07 20:49:04 +0200 (Wed, 07 Apr 2010) New Revision: 36072 Changeset: http://dev.haiku-os.org/changeset/36072/haiku Modified: haiku/trunk/headers/os/support/Errors.h Log: 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. Modified: haiku/trunk/headers/os/support/Errors.h =================================================================== --- haiku/trunk/headers/os/support/Errors.h 2010-04-07 18:32:47 UTC (rev 36071) +++ haiku/trunk/headers/os/support/Errors.h 2010-04-07 18:49:04 UTC (rev 36072) @@ -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)