aboutsummaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-29 07:45:13 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-29 07:45:13 +0000
commit9d271fd8b3c0f2aa013badabd02ea25fc113e082 (patch)
tree5c7992264c3c66be62ab1e03acfd70af1d22a391 /gdb/expprint.c
parent30f6df08a5a9e31e3ea1ce6ff94a17258001d6fa (diff)
downloadgdb-9d271fd8b3c0f2aa013badabd02ea25fc113e082.zip
gdb-9d271fd8b3c0f2aa013badabd02ea25fc113e082.tar.gz
gdb-9d271fd8b3c0f2aa013badabd02ea25fc113e082.tar.bz2
From Eli. Warning fixes.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 8c0fe4f..4b5245c 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -710,9 +710,9 @@ dump_prefix_expression (exp, stream, note)
print_expression (exp, stream);
else
fprintf_filtered (stream, "Type printing not yet supported....");
- fprintf_filtered (stream, "'\n\tLanguage %s, %d elements, %d bytes each.\n",
+ fprintf_filtered (stream, "'\n\tLanguage %s, %d elements, %ld bytes each.\n",
exp->language_defn->la_name, exp->nelts,
- sizeof (union exp_element));
+ (long) sizeof (union exp_element));
fprintf_filtered (stream, "\t%5s %20s %16s %s\n", "Index", "Opcode",
"Hex Value", "String Value");
for (elt = 0; elt < exp->nelts; elt++)
@@ -986,9 +986,9 @@ dump_postfix_expression (exp, stream, note)
print_expression (exp, stream);
else
fputs_filtered ("Type printing not yet supported....", stream);
- fprintf_filtered (stream, "'\n\tLanguage %s, %d elements, %d bytes each.\n",
+ fprintf_filtered (stream, "'\n\tLanguage %s, %d elements, %ld bytes each.\n",
exp->language_defn->la_name, exp->nelts,
- sizeof (union exp_element));
+ (long) sizeof (union exp_element));
fputs_filtered ("\n", stream);
for (elt = 0; elt < exp->nelts;)