From 7e9cd211c2388b032be6325325a6e9c329888fde Mon Sep 17 00:00:00 2001 From: hobbs Date: Wed, 1 Jun 2005 17:52:55 +0000 Subject: * win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelch compiler warning. --- ChangeLog | 5 +++++ win/tkWinX.c | 16 ++++++++-------- 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 + + * win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelch + compiler warning. + 2005-05-31 Reinhard Max * 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)); } -- cgit v0.12