diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-05-25 01:21:01 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-05-25 01:21:01 +0000 |
commit | d112b94ac4c8038056cf035dd8d550c9dc74b8e2 (patch) | |
tree | 09ed7331cff9c2cddd33ce443667eebca3b54b67 /gcc/lto-streamer-in.c | |
parent | d65adabb0d3a14a359be8cdd25ed476513051d54 (diff) | |
download | gcc-d112b94ac4c8038056cf035dd8d550c9dc74b8e2.zip gcc-d112b94ac4c8038056cf035dd8d550c9dc74b8e2.tar.gz gcc-d112b94ac4c8038056cf035dd8d550c9dc74b8e2.tar.bz2 |
lto-streamer-in.c (lto_input_data_block): Adjust T const cast to avoid warning.
* lto-streamer-in.c (lto_input_data_block): Adjust T const cast to
avoid warning.
From-SVN: r248445
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r-- | gcc/lto-streamer-in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index 6da217d..afed037 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -86,7 +86,7 @@ void lto_input_data_block (struct lto_input_block *ib, void *addr, size_t length) { size_t i; - unsigned char *const buffer = (unsigned char *const) addr; + unsigned char *const buffer = (unsigned char *) addr; for (i = 0; i < length; i++) buffer[i] = streamer_read_uchar (ib); |