diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2013-10-31 18:53:13 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2013-10-31 18:53:13 +0000 |
commit | 9113c7c613b193c66be8976db8fdd912a8c55b42 (patch) | |
tree | af99c0d9bc97d945e89a60b90f69d8d40425f257 /contrib | |
parent | ce086c793bb391e276abc9769901a939577fbd39 (diff) | |
download | src-9113c7c613b193c66be8976db8fdd912a8c55b42.tar.gz src-9113c7c613b193c66be8976db8fdd912a8c55b42.zip |
Queisce warning about attempting to add char * together and use explicit
array indexing to indicate what is meant to be done
Notes
Notes:
svn path=/head/; revision=257463
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/binutils/binutils/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/binutils/readelf.c b/contrib/binutils/binutils/readelf.c index d2e2aefca383..aafd8d4502e9 100644 --- a/contrib/binutils/binutils/readelf.c +++ b/contrib/binutils/binutils/readelf.c @@ -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 (' '); |