summaryrefslogtreecommitdiffstats
path: root/osdep/getch2-win.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/getch2-win.c')
-rw-r--r--osdep/getch2-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c
index 96f6878d2b..c378fbfd69 100644
--- a/osdep/getch2-win.c
+++ b/osdep/getch2-win.c
@@ -99,7 +99,7 @@ int getch2(int time){
void getch2_enable(){
- int retval;
+ DWORD retval;
stdin = GetStdHandle(STD_INPUT_HANDLE);
if(!GetNumberOfConsoleInputEvents(stdin,&retval))
{