From fb64414548c437bf52c3dcd0613aab5079faffba Mon Sep 17 00:00:00 2001 From: Colin Harrison Date: Fri, 15 Oct 2010 14:19:57 +0100 Subject: [PATCH] Xming: Fix warnings in ProcWindowsWMFrameSetTitle() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit winwindowswm.c: In function ‘ProcWindowsWMFrameSetTitle’: winwindowswm.c:516: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness winwindowswm.c:516: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness winwindowswm.c:528: warning: pointer targets in passing argument 2 of ‘SetWindowTextA’ differ in signedness Signed-off-by: Jon TURNEY Reviewed-by: Jon TURNEY --- hw/xwin/winwindowswm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xwin/winwindowswm.c b/hw/xwin/winwindowswm.c index 4027539c2..c255e490f 100644 --- a/hw/xwin/winwindowswm.c +++ b/hw/xwin/winwindowswm.c @@ -483,7 +483,7 @@ ProcWindowsWMFrameSetTitle( ) { unsigned int title_length, title_max; - unsigned char *title_bytes; + char *title_bytes; REQUEST(xWindowsWMFrameSetTitleReq); WindowPtr pWin; win32RootlessWindowPtr pRLWinPriv;