From 1f285441c3a26a672f52cd6fdb405d2c94eb93a1 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 7 Apr 2010 18:49:04 +0000 Subject: [PATCH] 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 --- headers/os/support/Errors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/os/support/Errors.h b/headers/os/support/Errors.h index 9f1fc08969..48f56990a8 100644 --- a/headers/os/support/Errors.h +++ b/headers/os/support/Errors.h @@ -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)