summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-29 23:56:19 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-29 23:56:19 +0000
commitd6d5e57f3996957205e6edf1787a67c2548af76a (patch)
tree6148e8766ed3f942a9f7d4f3f6b0017c41eb8c4d /gcc/dwarf2out.c
parenta449b1e62f70eae26909e5179297c35fdb567be1 (diff)
downloadgcc-d6d5e57f3996957205e6edf1787a67c2548af76a.tar.gz
* dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 98b98a80802..e39e687edbb 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -4990,7 +4990,7 @@ static void record_comdat_symbol_number (dw_die_ref, htab_t, unsigned);
static void add_sibling_attributes (dw_die_ref);
static void build_abbrev_table (dw_die_ref);
static void output_location_lists (dw_die_ref);
-static int constant_size (long unsigned);
+static int constant_size (unsigned HOST_WIDE_INT);
static unsigned long size_of_die (dw_die_ref);
static void calc_die_sizes (dw_die_ref);
static void mark_dies (dw_die_ref);
@@ -7507,7 +7507,7 @@ build_abbrev_table (dw_die_ref die)
/* Return the power-of-two number of bytes necessary to represent VALUE. */
static int
-constant_size (long unsigned int value)
+constant_size (unsigned HOST_WIDE_INT value)
{
int log;