diff options
author | Alan Modra <amodra@gmail.com> | 2014-08-05 10:37:38 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-08-05 10:37:48 +0930 |
commit | 241fd515ad94fa11d4608d4fe8108c382792d3be (patch) | |
tree | 8154bce0ae0a1ec83b36a9252b794cad982bac66 /gdb/utils.c | |
parent | 8479caa19304089b2ef42867e406a008bf5fbc4d (diff) | |
download | gdb-241fd515ad94fa11d4608d4fe8108c382792d3be.zip gdb-241fd515ad94fa11d4608d4fe8108c382792d3be.tar.gz gdb-241fd515ad94fa11d4608d4fe8108c382792d3be.tar.bz2 |
Prepare gdb for 64-bit obstacks
* charset.c (convert_between_encodings): Cast result of obstack_base.
* cp-valprint.c (cp_print_value_fields): Use size_t locals.
* hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
(read_unwind_info): Use size_t for some locals.
* jit.c (finalize_symtab): Likewise.
* utils.c (hashtab_obstack_allocate): Likewise.
* symmisc.c (print_objfile_statistics): Update format strings.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 8af8827..a4b5937 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -3080,7 +3080,7 @@ gdb_sign_extend (LONGEST value, int bit) void * hashtab_obstack_allocate (void *data, size_t size, size_t count) { - unsigned int total = size * count; + size_t total = size * count; void *ptr = obstack_alloc ((struct obstack *) data, total); memset (ptr, 0, total); |