> Hmm, using here "wchar_t *" as cast looks wrong. Actually we should > use anyway PUWSTR_C instead. I noticed it a bit too late and sent another patch casting to PUWSTR_C. > Nevertheless we can have here a const/none-const conversion (means > const specifiers for C-runtime function isn't regarded right?). I > would suggest to introduce a union-cast instead to avoid further > warnings instead. Conversion from const pointer to normal pointer is definitely unsafe but that's probably what GCC just did. I'm unsure what you mean by "union-cast" but you can commit your fix.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public