diff --git a/windows/window.c b/windows/window.c index f32c9665..ca8757df 100644 --- a/windows/window.c +++ b/windows/window.c @@ -5255,7 +5255,7 @@ static void wintw_clip_write( (int)udata[uindex]); alen = 1; strcpy(after, "}"); } else { - blen = sprintf(before, "\\u%d", udata[uindex]); + blen = sprintf(before, "\\u%d", (int)udata[uindex]); alen = 0; after[0] = '\0'; } }