aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/src/xcms/xyY.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/src/xcms/xyY.c')
-rw-r--r--nx-X11/lib/src/xcms/xyY.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/xcms/xyY.c b/nx-X11/lib/src/xcms/xyY.c
index e85b8d249..a99d03849 100644
--- a/nx-X11/lib/src/xcms/xyY.c
+++ b/nx-X11/lib/src/xcms/xyY.c
@@ -145,7 +145,7 @@ CIExyY_ParseString(
/*
* Check for proper prefix.
*/
- if (strncmp(spec, _XcmsCIExyY_prefix, n) != 0) {
+ if (strncmp(spec, _XcmsCIExyY_prefix, (size_t)n) != 0) {
return(XcmsFailure);
}