[Bug 46991] New: debug.h warning: "conversion from 'WCHAR' to 'char', possible loss of data" on line 293
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(a)winehq.org Reporter: dimaki(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46991 --- Comment #1 from Molk <dimaki(a)rocketmail.com> --- To be more clear, the compiler complains about the below line in wine_dbgstr_wn function. else *dst++ = c; -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46991 Molk <dimaki(a)rocketmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Molk <dimaki(a)rocketmail.com> --- Fixed by commit d97d922afd5215327aa3613fae07c977a5ef4f11 Thank you Alexandre. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46991 Molk <dimaki(a)rocketmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d97d922afd5215327aa3613fae0 | |7c977a5ef4f11 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46991 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 4.6. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org