summaryrefslogtreecommitdiff
path: root/src/Xfixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xfixes.c')
-rw-r--r--src/Xfixes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xfixes.c b/src/Xfixes.c
index 74d237d..30ae729 100644
--- a/src/Xfixes.c
+++ b/src/Xfixes.c
@@ -87,8 +87,8 @@ XFixesExtAddDisplay (XFixesExtInfo *extinfo,
Xfree(info);
return NULL;
}
- info->major_version = rep.majorVersion;
- info->minor_version = rep.minorVersion;
+ info->major_version = (int) rep.majorVersion;
+ info->minor_version = (int) rep.minorVersion;
UnlockDisplay (dpy);
SyncHandle ();
} else {