# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1650178222 14400 # Node ID 800b9eabc548833c5a37c8275a4a32e70adfacca # Parent cc498a5feaafc647c61a3a4f215b403f6959afad wait.. is the cast even needed? diff -r cc498a5feaaf -r 800b9eabc548 src/gui.c --- 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: