Module: wine Branch: master Commit: f8198e668898d7dc501e5c524893a2cd8fcc550f URL: http://source.winehq.org/git/wine.git/?a=commit;h=f8198e668898d7dc501e5c5248...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Thu Jul 19 22:04:50 2007 +0100
dbghelp: Cast-qual warnings fix.
---
dlls/dbghelp/dwarf.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c index 2c1ab0c..66c761c 100644 --- a/dlls/dbghelp/dwarf.c +++ b/dlls/dbghelp/dwarf.c @@ -2207,10 +2207,10 @@ BOOL dwarf2_parse(struct module* module, unsigned long load_offset, dwarf2_comp_unit_t comp_unit;
comp_unit_stream = (const dwarf2_comp_unit_stream_t*) comp_unit_cursor; - comp_unit.length = *(unsigned long*) comp_unit_stream->length; - comp_unit.version = *(unsigned short*) comp_unit_stream->version; - comp_unit.abbrev_offset = *(unsigned long*) comp_unit_stream->abbrev_offset; - comp_unit.word_size = *(unsigned char*) comp_unit_stream->word_size; + comp_unit.length = *(const unsigned long*) comp_unit_stream->length; + comp_unit.version = *(const unsigned short*) comp_unit_stream->version; + comp_unit.abbrev_offset = *(const unsigned long*) comp_unit_stream->abbrev_offset; + comp_unit.word_size = *(const unsigned char*) comp_unit_stream->word_size;
dwarf2_parse_compilation_unit(section, &comp_unit, module, thunks, comp_unit_cursor, load_offset);