19 Aug
2009
19 Aug
'09
3:30 p.m.
Juan Lang <juan.lang(a)gmail.com> writes:
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.
No, but you can just wrap the whole thing in a function. -- Alexandre Julliard julliard(a)winehq.org