From 334b3c1e83dac1ccf626e78f1fb8f51ff22db5a4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 5 Aug 2008 13:32:27 +0000 Subject: 2008-08-04 Sebastian Huber * rtems/new-exceptions/cpu.h: Changed define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison between signed and unsigned. --- cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/cpu/powerpc/rtems/new-exceptions') diff --git a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h index 245b6b7eec..9ead8b95fc 100644 --- a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h @@ -248,7 +248,7 @@ SCORE_EXTERN struct { */ #define CPU_INTERRUPT_NUMBER_OF_VECTORS (0) -#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (-1) +#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (UINT32_MAX) /* * This is defined if the port has a special way to report the ISR nesting -- cgit v1.2.3