diff options
Diffstat (limited to 'nx-X11/lib/src/xcms/cmsAllNCol.c')
-rw-r--r-- | nx-X11/lib/src/xcms/cmsAllNCol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/xcms/cmsAllNCol.c b/nx-X11/lib/src/xcms/cmsAllNCol.c index d39de6cbd..ae6827f4c 100644 --- a/nx-X11/lib/src/xcms/cmsAllNCol.c +++ b/nx-X11/lib/src/xcms/cmsAllNCol.c @@ -152,7 +152,7 @@ PassToServer: GetReq(AllocNamedColor, req); req->cmap = cmap; - nbytes = req->nbytes = strlen(colorname); + nbytes = req->nbytes = (CARD16) strlen(colorname); req->length += (nbytes + 3) >> 2; /* round up to mult of 4 */ _XSend(dpy, colorname, nbytes); |