* src/mcs51/gen.c (adjustArithmeticResult): fixed bug 1839299
[fw/sdcc] / support / regression / tests / bug-524691.c
index a4442382b69065deea29919ca707e9a367d9cf68..dfc2f0db1f714e639ce3c6f88984babc43d6a473 100644 (file)
@@ -43,9 +43,9 @@ void
 testDivByZero(void)
 {
   HeapEntryState aStates[] = {
-    { (void *)1, 0 }
+    { (void xdata *)1, 0 }
   };
-  void *p = (void *)0x1234;
+  void *p = (void xdata *)0x1234;
 
   ASSERT(_getHeapEntryState(p, aStates, 1) == NULL);