summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby.h b/ruby.h
index 8dd280148d..ca97ee2c42 100644
--- a/ruby.h
+++ b/ruby.h
@@ -380,9 +380,9 @@ struct RBignum {
#define xrealloc ruby_xrealloc
#define xfree ruby_xfree
-void *xmalloc _((size_t));
-void *xcalloc _((size_t,size_t));
-void *xrealloc _((void*,size_t));
+void *xmalloc _((long));
+void *xcalloc _((long,long));
+void *xrealloc _((void*,long));
void xfree _((void*));
#define ALLOC_N(type,n) (type*)xmalloc(sizeof(type)*(n))