diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-04 12:52:13 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-04 12:52:13 +0000 |
commit | 4692b23a458430a95103dc83a7f6eac37ff3bce9 (patch) | |
tree | 8792ae2e9c6e56c46ccf66d63f28303aeffda551 /gcc/lto-section-in.c | |
parent | 1942e76fcb0ee7fa0c1645f0a8b489fd4bb8a134 (diff) | |
download | gcc-4692b23a458430a95103dc83a7f6eac37ff3bce9.tar.gz |
2014-03-04 Richard Biener <rguenther@suse.de>
* lto-section-in.c (lto_get_section_data): Fix const cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208315 138bc75d-0d04-0410-961f-82ee72b054a4
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 60346dc7a26..9aa7639099c 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; } |