ole32: On big endian machines, copy strings to little endian order without mucking with the map they're stored in (try 2)

Alexandre Julliard julliard at winehq.org
Wed Aug 19 10:30:51 CDT 2009

Juan Lang <juan.lang at 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 at winehq.org

More information about the wine-devel mailing list