summaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-02-07 08:39:54 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-02-07 08:39:54 +0000
commit1d340dacc81e6d4a30cccda9f9c76d1e6507ee1e (patch)
treecf7525ae9f8badd9d5ea6b6d1025ec45448d9718 /binutils/objdump.c
parentd387147a5327b14d6981d32dbe25ab8b30b5bfb6 (diff)
downloadbinutils-redhat-1d340dacc81e6d4a30cccda9f9c76d1e6507ee1e.tar.gz
* objdump.c (main): Don't pass unadorned NULL to concat.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index e5ee5d2b33..83361331cc 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -1,6 +1,6 @@
/* objdump.c -- dump information about an object file.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -3083,7 +3083,7 @@ main (int argc, char **argv)
if (disassembler_options)
/* Ignore potential memory leak for now. */
disassembler_options = concat (disassembler_options, ",",
- optarg, NULL);
+ optarg, (const char *) NULL);
else
disassembler_options = optarg;
break;