summaryrefslogtreecommitdiff
path: root/gcc/java/jcf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r--gcc/java/jcf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h
index bcf69b7ad8a..e19c80d7fd0 100644
--- a/gcc/java/jcf.h
+++ b/gcc/java/jcf.h
@@ -53,8 +53,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#define JCF_u2 unsigned short
#endif
-#define ALLOC (void*)malloc
-#define REALLOC (void*)realloc
+#define ALLOC xmalloc
+#define REALLOC xrealloc
#ifndef FREE
#define FREE(PTR) free(PTR)
#endif