summaryrefslogtreecommitdiff
path: root/src/lcms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lcms.c')
-rw-r--r--src/lcms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lcms.c b/src/lcms.c
index 9df85c2c180..a3a98223060 100644
--- a/src/lcms.c
+++ b/src/lcms.c
@@ -254,7 +254,7 @@ parse_viewing_conditions (Lisp_Object view, const cmsCIEXYZ *wp,
if (CONSP (view) && FIXNATP (XCAR (view))) \
{ \
CHECK_RANGED_INTEGER (XCAR (view), 1, 4); \
- vc->field = XINT (XCAR (view)); \
+ vc->field = XFIXNUM (XCAR (view)); \
view = XCDR (view); \
} \
else \