summaryrefslogtreecommitdiff
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
commit73987fbdfd2650cd575d1d84caefe057797fcc51 (patch)
tree126ac5931f48f8c2982db510da52d67d46614d3f /gdb/expprint.c
parent9c66ab59f3eda3c9f431a01c8afe0a79c71807e8 (diff)
downloadgdb-73987fbdfd2650cd575d1d84caefe057797fcc51.tar.gz
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 8c0fe4f736f..4b5245cd64f 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;)