# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1649390210 14400 # Node ID 61b9a9ba7feea8a10f0d3fa44fbe37fc01bcd073 # Parent 1b8d066e55ae682cb696ae8086f5ebfec11f733a cast our enum properly... diff -r 1b8d066e55ae -r 61b9a9ba7fee src/gui.c --- 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: