[PATCH] gcov endianness
Nathan Sidwell
nathan@codesourcery.com
Thu Jul 10 10:06:00 GMT 2003
Andreas Schwab wrote:
> Nathan Sidwell <nathan@codesourcery.com> writes:
> ../../gcc/gcov-dump.c: In function `dump_file':
> ../../gcc/gcov-dump.c:182: warning: cast to pointer from integer of different size
>
> What if sizeof(unsigned) != 4?
oh crap, that'll not work on bigendian >4 byte systems. I'll fix that
(and the other coverage thing I appear to have broken).
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the Gcc-patches
mailing list