From dc22d06905a509f8a12038e0493f825690849624 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 12 Nov 2012 10:28:31 +0900 Subject: [PATCH] Fix an out-by-one in the definition of INT_MAX. INT_MAX wound up being INT_MIN :/ --- ruamoko/include/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruamoko/include/runtime.h b/ruamoko/include/runtime.h index ac1c56631..731b52b9a 100644 --- a/ruamoko/include/runtime.h +++ b/ruamoko/include/runtime.h @@ -5,7 +5,7 @@ #ifndef __ruamoko_runtime_h_ #define __ruamoko_runtime_h_ -#define INT_MAX 2147483648 +#define INT_MAX 2147483647 #define INT_MIN (-INT_MAX - 1) #define UINT_MAX 4294967295U