# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1649392007 14400 # Node ID cc498a5feaafc647c61a3a4f215b403f6959afad # Parent c517cf837d95cd11afaf05f3748c94ebc4c78177 Update gui.c diff -r c517cf837d95 -r cc498a5feaaf src/gui.c --- a/src/gui.c Fri Apr 08 00:19:10 2022 -0400 +++ b/src/gui.c Fri Apr 08 00:26:47 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: