diff options
author | Colin Harrison <colin.harrison@virgin.net> | 2010-10-15 14:19:57 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-10-19 14:38:30 +0100 |
commit | fb64414548c437bf52c3dcd0613aab5079faffba (patch) | |
tree | 985a8475179ec1f4368a7628a5109659db63a4a5 /hw/xwin | |
parent | da5955cc023ae980fdc0397f6fd541e788040c29 (diff) |
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>
Diffstat (limited to 'hw/xwin')
-rw-r--r-- | hw/xwin/winwindowswm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |