> You are still casting away const...

Indeed I am, but now the warning is harmless:  the const pointer is
only read from, never written to.  Making a const pointer in the
little endian case would make the entire block rather messier, since
having a non-const pointer is necessary in the big endian case:  it's
written to and freed.

If you'd rather I introduce #ifdefs in the block itself, let me know.
--Juan


Reply via email to