aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 7b55084..b111f00 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -121,7 +121,7 @@ allocate_objfile (abfd, mapped)
{
struct objfile *objfile = NULL;
int fd;
- void *md;
+ PTR md;
CORE_ADDR mapto;
mapped |= mapped_symbol_files;
@@ -142,7 +142,7 @@ allocate_objfile (abfd, mapped)
if (fd >= 0)
{
if (((mapto = map_to_address ()) == 0) ||
- ((md = mmalloc_attach (fd, (void *) mapto)) == NULL))
+ ((md = mmalloc_attach (fd, (PTR) mapto)) == NULL))
{
close (fd);
}