Change pointers from char * to unsigned char *
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 15 May 2015 17:29:03 +0000 (10:29 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 15 May 2015 17:29:03 +0000 (10:29 -0700)
commitfd8008d83ce379a8d3f3bb9c3b1a723e16c401d4
tree90249d6441d0f4e414aca6958fb252bf73b6fadf
parent5db04b0965e3e7a9344a93de22caae3c111de2cc
Change pointers from char * to unsigned char *

GCC 4.2 complaints:

cc1: warnings being treated as errors
binutils/readelf.c:12057: warning: dereferencing type-punned pointer will break strict-aliasing rules

This patch silences this GCC warning.

* readelf.c (dump_section_as_strings): Change pointers from
char * to unsigned char *.
binutils/ChangeLog
binutils/readelf.c