Xming: Fix warnings in ProcWindowsWMFrameSetTitle()

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 <jon.turney@dronecode.org.uk>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Colin Harrison 2010-10-15 14:19:57 +01:00 committed by Jon TURNEY
parent da5955cc02
commit fb64414548

View File

@ -483,7 +483,7 @@ ProcWindowsWMFrameSetTitle(
)
{
unsigned int title_length, title_max;
unsigned char *title_bytes;
char *title_bytes;
REQUEST(xWindowsWMFrameSetTitleReq);
WindowPtr pWin;
win32RootlessWindowPtr pRLWinPriv;