hedgewars/pas2c.h
changeset 6922 93bdd3d251fe
parent 6902 7d4e5ce73b98
child 6923 d2405a6a86f5
--- a/hedgewars/pas2c.h	Tue Apr 24 16:11:07 2012 +0400
+++ b/hedgewars/pas2c.h	Tue Apr 24 22:27:56 2012 +0400
@@ -44,8 +44,8 @@
 typedef LongInt * PLongInt;
 typedef Integer * PInteger;
 
-#define new(a) __new(&a, sizeof(*(a)))
-void __new(pointer * p, int size);
+#define new(a) __new((void **)&a, sizeof(*(a)))
+void __new(void ** p, int size);
 
 #define dispose(a) __dispose(a, sizeof(*(a)))
 void __dispose(pointer p, int size);