summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/tty.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/tty.h')
-rw-r--r--winsup/cygwin/tty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/tty.h b/winsup/cygwin/tty.h
index 8153aaf4d..c5d01526f 100644
--- a/winsup/cygwin/tty.h
+++ b/winsup/cygwin/tty.h
@@ -87,7 +87,7 @@ class fhandler_pty_master;
class tty: public tty_min
{
HANDLE get_event (const char *fmt, BOOL manual_reset = FALSE)
- __attribute__ ((regparm (2)));
+ __attribute__ ((regparm (3)));
public:
HWND hwnd; /* Console window handle tty belongs to */