diff options
author | hobbs <hobbs> | 2005-06-01 17:52:55 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-06-01 17:52:55 (GMT) |
commit | 7e9cd211c2388b032be6325325a6e9c329888fde (patch) | |
tree | 35e3dad110c205b75b9d921cfc841338987491ae | |
parent | 5268b0f34fe8eb4558b6ce4a25911b8af24514cd (diff) | |
download | tk-7e9cd211c2388b032be6325325a6e9c329888fde.zip tk-7e9cd211c2388b032be6325325a6e9c329888fde.tar.gz tk-7e9cd211c2388b032be6325325a6e9c329888fde.tar.bz2 |
* win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelch
compiler warning.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | win/tkWinX.c | 16 |
2 files changed, 13 insertions, 8 deletions
@@ -1,3 +1,8 @@ +2005-06-01 Jeff Hobbs <jeffh@ActiveState.com> + + * win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelch + compiler warning. + 2005-05-31 Reinhard Max <max@suse.de> * doc/Inactive.3 (new file): C level API documentationn for diff --git a/win/tkWinX.c b/win/tkWinX.c index bea8b9f..5bbed97 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinX.c,v 1.46 2005/05/27 23:14:29 dkf Exp $ + * RCS: @(#) $Id: tkWinX.c,v 1.47 2005/06/01 17:52:57 hobbs Exp $ */ /* @@ -1921,13 +1921,13 @@ Tk_ResetUserInactiveTime(dpy) { INPUT inp; - inp.type=INPUT_MOUSE; - inp.mi.dx=0; - inp.mi.dy=0; - inp.mi.mouseData=0; - inp.mi.dwFlags=MOUSEEVENTF_MOVE; - inp.mi.time=0; - inp.mi.dwExtraInfo=NULL; + inp.type = INPUT_MOUSE; + inp.mi.dx = 0; + inp.mi.dy = 0; + inp.mi.mouseData = 0; + inp.mi.dwFlags = MOUSEEVENTF_MOVE; + inp.mi.time = 0; + inp.mi.dwExtraInfo = (ULONG_PTR) NULL; SendInput(1, &inp, sizeof(inp)); } |