[PATCH] Fix type mismatch warning when compiling on Windows

Carlo Bramini carlo.bramix at libero.it
Sat Nov 16 08:54:33 CST 2019

The function COMBO_SelectString() has parameter "start" declared as INT, but there is not a good reason to do so, since it is used only as parameter for SendMessage(). I suggest to change it from INT to WPARAM, for removing the cast to INT inside CB_SELECTSTRING and fixing the warning that I'm getting on Windows because INT to WPARAM type mismatch.


Signed-off-by: Carlo Bramini <carlo_bramini at users.sourceforge.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: combo.patch
Type: application/octet-stream
Size: 1292 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191116/558414e5/attachment.obj>

More information about the wine-devel mailing list