From: Andris Pavenis Date: Mon, 16 Nov 2015 21:13:37 +0000 (+0200) Subject: lto-streamer-out.c (write_global_references): Adjust integer type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83b4db6df5f0717e6537bc6ab63406a2acc340e3;p=gcc.git lto-streamer-out.c (write_global_references): Adjust integer type. * lto-streamer-out.c (write_global_references): Adjust integer type. (lto_output_decl_state_refs): Likewise. From-SVN: r230436 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa6dcd51d15..5d6213f4462 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-16 Andris Pavenis + + * lto-streamer-out.c (write_global_references): Adjust integer type. + (lto_output_decl_state_refs): Likewise. + 2015-11-16 James Greenhalgh * config/arm/arm-cores.def (cortex-a35): New. diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 3e087d1e124..0d610f166bc 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2387,7 +2387,7 @@ write_global_references (struct output_block *ob, for (index = 0; index < size; index++) { - uint32_t slot_num; + unsigned slot_num; t = lto_tree_ref_encoder_get_tree (encoder, index); streamer_tree_cache_lookup (ob->writer_cache, t, &slot_num); @@ -2422,7 +2422,7 @@ lto_output_decl_state_refs (struct output_block *ob, struct lto_out_decl_state *state) { unsigned i; - uint32_t ref; + unsigned ref; tree decl; /* Write reference to FUNCTION_DECL. If there is not function,