summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-06-01 17:52:55 (GMT)
committerhobbs <hobbs>2005-06-01 17:52:55 (GMT)
commit7e9cd211c2388b032be6325325a6e9c329888fde (patch)
tree35e3dad110c205b75b9d921cfc841338987491ae
parent5268b0f34fe8eb4558b6ce4a25911b8af24514cd (diff)
downloadtk-7e9cd211c2388b032be6325325a6e9c329888fde.zip
tk-7e9cd211c2388b032be6325325a6e9c329888fde.tar.gz
tk-7e9cd211c2388b032be6325325a6e9c329888fde.tar.bz2
* win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelch
compiler warning.
-rw-r--r--ChangeLog5
-rw-r--r--win/tkWinX.c16
2 files changed, 13 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 3799da3..8da5c92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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));
}