[rtems commit] arm: Use a valid signed integer constant
Sebastian Huber
sebh at rtems.org
Tue Sep 26 05:39:51 UTC 2023
Module: rtems
Branch: master
Commit: b3e4c41941fbde55100752bd6ec14eee281cb0e5
Changeset: http://git.rtems.org/rtems/commit/?id=b3e4c41941fbde55100752bd6ec14eee281cb0e5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 22 14:37:53 2023 +0200
arm: Use a valid signed integer constant
Enumerators are restricted to signed integers in some C standards.
---
cpukit/score/cpu/arm/include/rtems/score/cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/arm/include/rtems/score/cpu.h b/cpukit/score/cpu/arm/include/rtems/score/cpu.h
index 3cd43970b1..a462b48cf1 100644
--- a/cpukit/score/cpu/arm/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/include/rtems/score/cpu.h
@@ -585,7 +585,7 @@ typedef enum {
ARM_EXCEPTION_IRQ = 6,
ARM_EXCEPTION_FIQ = 7,
MAX_EXCEPTIONS = 8,
- ARM_EXCEPTION_MAKE_ENUM_32_BIT = 0xffffffff
+ ARM_EXCEPTION_MAKE_ENUM_32_BIT = 0x7fffffff
} Arm_symbolic_exception_name;
#endif /* defined(ARM_MULTILIB_ARCH_V4) */
More information about the vc
mailing list