https://bugs.winehq.org/show_bug.cgi?id=46991
Bug ID: 46991 Summary: debug.h warning: "conversion from 'WCHAR' to 'char', possible loss of data" on line 293 Product: Wine Version: 4.5 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: trivial Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dimaki@rocketmail.com
I get a warning from compiler in debug.h: "conversion from 'WCHAR' to 'char', possible loss of data" on line 293 during compilation" on VS C compiler when including wine's debug.h. I think just a matter of adding an explicit conversion to char on line 293 in debug.h to get rid of the warning.
https://bugs.winehq.org/show_bug.cgi?id=46991
--- Comment #1 from Molk dimaki@rocketmail.com --- To be more clear, the compiler complains about the below line in wine_dbgstr_wn function.
else *dst++ = c;
https://bugs.winehq.org/show_bug.cgi?id=46991
Molk dimaki@rocketmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Molk dimaki@rocketmail.com --- Fixed by commit d97d922afd5215327aa3613fae07c977a5ef4f11 Thank you Alexandre.
https://bugs.winehq.org/show_bug.cgi?id=46991
Molk dimaki@rocketmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d97d922afd5215327aa3613fae0 | |7c977a5ef4f11
https://bugs.winehq.org/show_bug.cgi?id=46991
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.6.