aboutsummaryrefslogtreecommitdiff
path: root/gdb/charset.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-08-05 10:37:38 +0930
committerAlan Modra <amodra@gmail.com>2014-08-05 10:37:48 +0930
commit241fd515ad94fa11d4608d4fe8108c382792d3be (patch)
tree8154bce0ae0a1ec83b36a9252b794cad982bac66 /gdb/charset.c
parent8479caa19304089b2ef42867e406a008bf5fbc4d (diff)
downloadgdb-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/charset.c')
-rw-r--r--gdb/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/charset.c b/gdb/charset.c
index 6f413a2..05d8fee 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -503,7 +503,7 @@ convert_between_encodings (const char *from, const char *to,
old_size = obstack_object_size (output);
obstack_blank (output, space_request);
- outp = obstack_base (output) + old_size;
+ outp = (char *) obstack_base (output) + old_size;
outleft = space_request;
r = iconv (desc, &inp, &inleft, &outp, &outleft);