diff options
author | Richard Biener <rguenther@suse.de> | 2014-03-04 12:52:13 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-03-04 12:52:13 +0000 |
commit | 3c24e842c179b16c7d4b397d2d09c48f23f4a845 (patch) | |
tree | 8792ae2e9c6e56c46ccf66d63f28303aeffda551 /gcc/lto-section-in.c | |
parent | 3740bda6657ed84863bc2d69889b39bd859454d7 (diff) | |
download | gcc-3c24e842c179b16c7d4b397d2d09c48f23f4a845.zip gcc-3c24e842c179b16c7d4b397d2d09c48f23f4a845.tar.gz gcc-3c24e842c179b16c7d4b397d2d09c48f23f4a845.tar.bz2 |
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
Diffstat (limited to 'gcc/lto-section-in.c')
-rw-r--r-- | gcc/lto-section-in.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto-section-in.c b/gcc/lto-section-in.c index 60346dc..9aa7639 100644 --- a/gcc/lto-section-in.c +++ b/gcc/lto-section-in.c @@ -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; } |