mirror of
https://github.com/serge1/ELFIO.git
synced 2025-03-28 16:20:53 +00:00
Don't cast away const qualifiers when accessing const data (e.g. section data). This fixes the warnings such as the following when compiling with GCC and the -Wcast-qual flag set: warning: cast from type ‘const char*’ to type ‘ELFIO::Elf_Word* {aka unsigned int*}’ casts away qualifiers [-Wcast-qual]