svn commit: r257463 - head/contrib/binutils/binutils
Sean Bruno
sbruno at FreeBSD.org
Thu Oct 31 18:53:14 UTC 2013
Author: sbruno
Date: Thu Oct 31 18:53:13 2013
New Revision: 257463
URL: http://svnweb.freebsd.org/changeset/base/257463
Log:
Queisce warning about attempting to add char * together and use explicit
array indexing to indicate what is meant to be done
Modified:
head/contrib/binutils/binutils/readelf.c
Modified: head/contrib/binutils/binutils/readelf.c
==============================================================================
--- head/contrib/binutils/binutils/readelf.c Thu Oct 31 18:44:40 2013 (r257462)
+++ head/contrib/binutils/binutils/readelf.c Thu Oct 31 18:53:13 2013 (r257463)
@@ -7118,7 +7118,7 @@ process_symbol_table (FILE *file)
n = print_vma (si, DEC_5);
if (n < 5)
- fputs (" " + n, stdout);
+ fputs (&" "[n], stdout);
printf (" %3lu: ", hn);
print_vma (psym->st_value, LONG_HEX);
putchar (' ');
More information about the svn-src-all
mailing list