aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/src/PolyTxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/src/PolyTxt.c')
-rw-r--r--nx-X11/lib/src/PolyTxt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/PolyTxt.c b/nx-X11/lib/src/PolyTxt.c
index 471383b57..5c0046614 100644
--- a/nx-X11/lib/src/PolyTxt.c
+++ b/nx-X11/lib/src/PolyTxt.c
@@ -197,7 +197,7 @@ XDrawText(
*(tbuf+1) = 0; /* elt->delta */
}
*tbuf = PartialNChars; /* elt->len */
- memcpy (tbuf+2 , CharacterOffset, PartialNChars);
+ memcpy (tbuf+2 , CharacterOffset, (size_t) PartialNChars);
}
}
item++;