Avoid buffer overrun in bpress()

Use correct type for Mousekey.b (XButtonEvent.button).
This commit is contained in:
Mark Edgar 2013-10-06 12:19:12 +02:00 committed by Roberto E. Vargas Caballero
parent 8e577322a3
commit 0f6942cdf6

4
st.c
View File

@ -256,9 +256,9 @@ typedef struct {
} XWindow;
typedef struct {
int b;
uint b;
uint mask;
char s[ESC_BUF_SIZ];
char *s;
} Mousekey;
typedef struct {