hw/xwin: Fix uses of CreateDialogParam() for 64-bit builds
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sat, 30 Mar 2013 19:41:06 +0000 (19:41 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Mon, 10 Jun 2013 14:21:14 +0000 (15:21 +0100)
commitfc40f9a92cf5981bccc45bbc0b959cc06c5accc2
tree6e6c9ad9b60b8cdb6ea9aa13f570b501304ddd03
parentb542976846eb5d4c82910272af32ec8298da4177
hw/xwin: Fix uses of CreateDialogParam() for 64-bit builds

Fix uses of CreateDialogParam() to be more strictly correct, for 64-bit builds

dwInitParam parameter is LPARAM, not int
Return type of DLGPROC is INT_PTR, not WINBOOL

Also: Reporting the value of g_hDlgDepthChange is completely uninteresting, we
are just interested in GetLastError() if it is NULL

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
hw/xwin/windialogs.c