diff options
Diffstat (limited to 'libjava/nogc.cc')
-rw-r--r-- | libjava/nogc.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/nogc.cc b/libjava/nogc.cc index b5bd6f3d1f5..08296719cbf 100644 --- a/libjava/nogc.cc +++ b/libjava/nogc.cc @@ -1,4 +1,4 @@ -// nogc.cc - Code to implement no GC. +// nogc.cc - Implement null garbage collector. /* Copyright (C) 1998, 1999, 2000 Free Software Foundation @@ -31,7 +31,7 @@ void * _Jv_AllocObj (jsize size, jclass klass) { total += size; - ptr_t obj = calloc (size, 1); + void *obj = calloc (size, 1); *((_Jv_VTable **) obj) = klass->vtable; return obj; } @@ -40,7 +40,7 @@ void * _Jv_AllocArray (jsize size, jclass klass) { total += size; - ptr_t obj = calloc (size, 1); + void *obj = calloc (size, 1); *((_Jv_VTable **) obj) = klass->vtable; return obj; } |