Mercurial > msvpvf
changeset 34:800b9eabc548
wait.. is the cast even needed?
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Sun, 17 Apr 2022 02:50:22 -0400 |
parents | cc498a5feaaf |
children | cb2a28cef9cc |
files | src/gui.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c Fri Apr 08 00:26:47 2022 -0400 +++ b/src/gui.c Sun Apr 17 02:50:22 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 = (types)SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); + type = SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); } switch(wParam) { case OPEN_FILE_BUTTON: