Fix CRC cast compiler warning
[rapper.git] / src / boards / lpc1768 / startup.c
index 66eab26..0888b27 100644 (file)
@@ -95,6 +95,8 @@ extern int main(void);
 //*****************************************************************************
 static unsigned long pulStack[64];
 
+#define CRC_CHECKSUM 0xeffffcbf
+
 //*****************************************************************************
 //
 // The vector table.  Note that the proper constructs must be placed on this to
@@ -112,7 +114,7 @@ void (* const g_pfnVectors[])(void) =
     MemManage_Handler,                      // The MPU fault handler
     BusFault_Handler,                       // The bus fault handler
     UsageFault_Handler,                     // The usage fault handler
-    0xeffffcbf,                                    // Interrupt CRC
+    (void *) CRC_CHECKSUM,                 // Interrupt CRC
     0,                                      // Reserved
     0,                                      // Reserved
     0,                                      // Reserved