Mercurial > msvpvf
changeset 29:61b9a9ba7fee
cast our enum properly...
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Thu, 07 Apr 2022 23:56:50 -0400 |
parents | 1b8d066e55ae |
children | fa7bd08be944 |
files | src/gui.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c Thu Apr 07 23:54:24 2022 -0400 +++ b/src/gui.c Thu Apr 07 23:56:50 2022 -0400 @@ -215,7 +215,7 @@ if (LOWORD(wParam) == COMBOBOX) version = (int16_t)(8+SendMessage((HWND) lParam, (UINT) CB_GETCURSEL, (WPARAM) 0, (LPARAM) 0)); if (LOWORD(wParam) == LISTBOX) - type = (type)SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); + type = (types)SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); } switch(wParam) { case OPEN_FILE_BUTTON: