summaryrefslogtreecommitdiff
path: root/lto-plugin/lto-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lto-plugin/lto-plugin.c')
-rw-r--r--lto-plugin/lto-plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c
index 314759bc462..f2ca90ccf74 100644
--- a/lto-plugin/lto-plugin.c
+++ b/lto-plugin/lto-plugin.c
@@ -212,7 +212,8 @@ translate (Elf_Data *symtab, struct plugin_symtab *out)
data = parse_table_entry (data, &syms[n], &aux[n]);
}
- fprintf (stderr, "n = %d len = %d end-data=%lu\n", n, len, end-data);
+ fprintf (stderr, "n = %d len = %d end-data=%lu\n", n, len,
+ (unsigned long) (end - data));
assert(n < len);
out->nsyms = n;