lto-section-in.c (lto_get_section_data): Fix const cast.
2014-03-04 Richard Biener <rguenther@suse.de> * lto-section-in.c (lto_get_section_data): Fix const cast. From-SVN: r208315
This commit is contained in:
parent
3740bda665
commit
3c24e842c1
@ -1,3 +1,7 @@
|
||||
2014-03-04 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* lto-section-in.c (lto_get_section_data): Fix const cast.
|
||||
|
||||
2014-03-04 Paulo Matos <paulo@matos-sorge.com>
|
||||
|
||||
* tree-streamer.c (record_common_node): Assert we don't record
|
||||
|
@ -174,8 +174,8 @@ lto_get_section_data (struct lto_file_decl_data *file_data,
|
||||
data = buffer.data + header_length;
|
||||
}
|
||||
|
||||
lto_check_version (((lto_header *)data)->major_version,
|
||||
((lto_header *)data)->minor_version);
|
||||
lto_check_version (((const lto_header *)data)->major_version,
|
||||
((const lto_header *)data)->minor_version);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user