fix for port ds390
[fw/sdcc] / support / regression / tests / bug-716242.c
index 95f32682691f0b1ccf0af1b1f39747f85c37332c..6e59499c710c6556c5670b924d5d6a2dfffd3bc0 100644 (file)
@@ -23,7 +23,11 @@ void g (int (*h) (int))
 
 void f1()
 {
+#if defined(SDCC_ds390)
+  p = (void code *) mul2;
+#else
   p = (void *) mul2;
+#endif
   g ((int (*) (int)) p);
 }