Cast to unsigned long.
2010-07-23 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/45042 * lto-plugin.c (translate): Cast to unsigned long. From-SVN: r162465
This commit is contained in:
parent
c59a0a1d19
commit
9477ccb2b1
@ -1,4 +1,9 @@
|
||||
2010-07-10 Andi Kleen <ak@linux.intel.com>
|
||||
2010-07-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR bootstrap/45042
|
||||
* lto-plugin.c (translate): Cast to unsigned long.
|
||||
|
||||
2010-07-23 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
PR lto/44992
|
||||
* lto-plugin.c (sym_aux): Add.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user