diff options
Diffstat (limited to 'nx-X11/lib/src/Text.c')
-rw-r--r-- | nx-X11/lib/src/Text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/Text.c b/nx-X11/lib/src/Text.c index 223b1cf8b..b3cfd3393 100644 --- a/nx-X11/lib/src/Text.c +++ b/nx-X11/lib/src/Text.c @@ -104,7 +104,7 @@ XDrawString( *(tbuf+1) = 0; /* memcpy ((char *) (elt + 1), CharacterOffset, PartialNChars); */ - memcpy ((char *)tbuf+2, CharacterOffset, PartialNChars); + memcpy ((char *)tbuf+2, CharacterOffset, (size_t)PartialNChars); } } |