diff options
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 1bba838..d863cd8 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -64,8 +64,8 @@ allocate_objfile (abfd, filename, dumpable) { objfile = (struct objfile *) xmalloc (sizeof (struct objfile)); (void) memset (objfile, 0, sizeof (struct objfile)); - objfile -> malloc = xmalloc; - objfile -> realloc = xrealloc; + objfile -> malloc = (PTR (*) PARAMS ((long))) malloc; + objfile -> realloc = (PTR (*) PARAMS ((PTR, long))) realloc; objfile -> xmalloc = xmalloc; objfile -> xrealloc = xrealloc; objfile -> free = free; |