changeset 33:cc498a5feaaf

Update gui.c
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Fri, 08 Apr 2022 00:26:47 -0400
parents c517cf837d95
children 800b9eabc548
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: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: