summaryrefslogtreecommitdiff
path: root/src/Xfixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xfixes.c')
-rw-r--r--src/Xfixes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Xfixes.c b/src/Xfixes.c
index b8aca09..2f73bcd 100644
--- a/src/Xfixes.c
+++ b/src/Xfixes.c
@@ -48,7 +48,6 @@ XFixesExtAddDisplay (XFixesExtInfo *extinfo,
char *ext_name)
{
XFixesExtDisplayInfo *info;
- int ev;
info = Xmalloc (sizeof (XFixesExtDisplayInfo));
if (!info) return NULL;
@@ -65,7 +64,7 @@ XFixesExtAddDisplay (XFixesExtInfo *extinfo,
xXFixesQueryVersionReq *req;
XESetCloseDisplay (dpy, info->codes->extension,
XFixesCloseDisplay);
- for (ev = info->codes->first_event;
+ for (int ev = info->codes->first_event;
ev < info->codes->first_event + XFixesNumberEvents;
ev++)
{