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
This commit is contained in:
Andris Pavenis 2015-11-16 23:13:37 +02:00 committed by Jeff Law
parent 0f62c7a0cc
commit 83b4db6df5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-11-16 Andris Pavenis <andris.pavenis@iki.fi>
* lto-streamer-out.c (write_global_references): Adjust integer type.
(lto_output_decl_state_refs): Likewise.
2015-11-16 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/arm-cores.def (cortex-a35): New.

View File

@ -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,