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 (' '); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"