Enumerations are 'int'-sized (by default) and GCC complains about the use of ~0UL.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/mmix/include/arch/registers.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/mmix/include/arch/registers.h b/arch/mmix/include/arch/registers.h index 48634ee..8faa73f 100644 --- a/arch/mmix/include/arch/registers.h +++ b/arch/mmix/include/arch/registers.h @@ -2,6 +2,7 @@ #define __JIT_REGISTERS_H #include <stdbool.h> +#include <limits.h> #include "vm/types.h" @@ -16,7 +17,7 @@ enum machine_reg { /* The above registers are available for get_fixed_var(). */ NR_FIXED_REGISTERS = NR_REGISTERS, - MACH_REG_UNASSIGNED = ~0UL, + MACH_REG_UNASSIGNED = INT_MAX, }; static inline bool reg_supports_type(enum machine_reg reg, enum vm_type type) -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel