diff options
author | dkf <dkf@noemail.net> | 2007-01-11 15:35:38 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2007-01-11 15:35:38 (GMT) |
commit | bc95aa62be8456f69d3a5834a35d561d094e0370 (patch) | |
tree | 9afda096b9165b4f20fb70975876d2bf0c1c2c29 /win/tkWinWindow.c | |
parent | 6be95639cd219118015e01613e639e7222008b4a (diff) | |
download | tk-bc95aa62be8456f69d3a5834a35d561d094e0370.zip tk-bc95aa62be8456f69d3a5834a35d561d094e0370.tar.gz tk-bc95aa62be8456f69d3a5834a35d561d094e0370.tar.bz2 |
Many minute fixes to reduce number of minor warnings from GCC.
FossilOrigin-Name: 07047209ee3fabf64df75844ccc749416e247cd7
Diffstat (limited to 'win/tkWinWindow.c')
-rw-r--r-- | win/tkWinWindow.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/win/tkWinWindow.c b/win/tkWinWindow.c index 2f6ab18..4fc6a0e 100644 --- a/win/tkWinWindow.c +++ b/win/tkWinWindow.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWindow.c,v 1.12 2005/12/02 13:42:29 dkf Exp $ + * RCS: @(#) $Id: tkWinWindow.c,v 1.13 2007/01/11 15:35:41 dkf Exp $ */ #include "tkWinInt.h" @@ -250,8 +250,7 @@ TkpScanWindowId( */ Window -TkpMakeWindow( - TkWindow *winPtr, +TkpMakeWindow( TkWindow *winPtr, Window parent) { HWND parentWin; @@ -272,7 +271,7 @@ TkpMakeWindow( */ hwnd = CreateWindowEx(WS_EX_NOPARENTNOTIFY, TK_WIN_CHILD_CLASS_NAME, NULL, - style, Tk_X(winPtr), Tk_Y(winPtr), Tk_Width(winPtr), + (DWORD) style, Tk_X(winPtr), Tk_Y(winPtr), Tk_Width(winPtr), Tk_Height(winPtr), parentWin, NULL, Tk_GetHINSTANCE(), NULL); SetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); @@ -512,7 +511,7 @@ XMoveResizeWindow( unsigned int width, unsigned int height) { display->request++; - MoveWindow(Tk_GetHWND(w), x, y, width, height, TRUE); + MoveWindow(Tk_GetHWND(w), x, y, (int) width, (int) height, TRUE); } /* @@ -571,8 +570,8 @@ XResizeWindow( display->request++; - MoveWindow(Tk_GetHWND(w), winPtr->changes.x, winPtr->changes.y, width, - height, TRUE); + MoveWindow(Tk_GetHWND(w), winPtr->changes.x, winPtr->changes.y, (int)width, + (int)height, TRUE); } /* |