summaryrefslogtreecommitdiff
path: root/src/Xfixes.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-19 12:05:59 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-19 12:05:59 -0800
commit64fc7592fd27bbee300085773247dd1737a5af1b (patch)
treec51bf9dda401872ef3027cd36ad625c27256c225 /src/Xfixes.c
parent80ea445ff6865f9a04c4522c6d8b6cf940b10397 (diff)
Handle 6 of 9 -Wsign-conversion warnings from clang
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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 {