This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch for 64-bit change address in 32-bit environment
From: Andreas Jaeger <aj@suse.de>
Date: 03 May 2000 12:53:24 +0200
- unsigned long val = strtoul (valstr, &end, 16);
+ bfd_vma val = bfd_scan_vma (valstr, (CONST char **)&end, 16);
I think CONST is an aberration which should be avoided in new code.
There isn't any reason to use a special macro. We just #undef const
if the compiler doesn't support it. See ansidecl.h.
Ian