diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-25 22:13:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-25 22:13:53 +0000 |
commit | c8623080cb217735f4f7460186e9a1ad910b4a3b (patch) | |
tree | 595d432ebb57f79ae1d3f69802ea5236beb77b29 /gdb/remote-udi.c | |
parent | a6a5d3492796f75b03b92f86226b2741ee468f0d (diff) | |
download | gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.zip gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.gz gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.bz2 |
CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r-- | gdb/remote-udi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index dfc9f6b..324a7df 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -1092,7 +1092,7 @@ download(load_arg_string, from_tty) error ("Must specify at least a file name with the load command"); filename = tilde_expand (filename); - make_cleanup (free, filename); + make_cleanup ((make_cleanup_func) free, filename); while (token = strtok (NULL, " \t")) { @@ -1146,7 +1146,7 @@ download(load_arg_string, from_tty) /* FIXME: should be checking for errors from bfd_close (for one thing, on error it does not free all the storage associated with the bfd). */ - make_cleanup (bfd_close, pbfd); + make_cleanup ((make_cleanup_func) bfd_close, pbfd); QUIT; immediate_quit++; |