diff options
author | mdejong <mdejong@noemail.net> | 2003-01-16 19:01:58 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2003-01-16 19:01:58 (GMT) |
commit | 3c27c898a370a972f428790856e6eb1ca661e402 (patch) | |
tree | 56fc5ddd5f0d9e560d44bc912f29228edfa92437 /win/tclWinNotify.c | |
parent | bfad72422be11a4d95a4f6d3ec898ed46c21aa65 (diff) | |
download | tcl-3c27c898a370a972f428790856e6eb1ca661e402.zip tcl-3c27c898a370a972f428790856e6eb1ca661e402.tar.gz tcl-3c27c898a370a972f428790856e6eb1ca661e402.tar.bz2 |
* win/tclWin32Dll.c (squelch_warnings): Squelch
compiler warnings from SEH ASM code.
* win/tclWinChan.c (squelch_warnings): Squelch
compiler warnings from SEH ASM code.
* win/tclWinDde.c: Add casts to avoid compiler
warnings. Pass pointer to DWORD instead of int
to avoid compiler warnings.
* win/tclWinFCmd.c (squelch_warnings): Add casts
and fixup decls to avoid compiler warnings.
Squelch compiler warnings from SEH ASM code.
* win/tclWinFile.c: Add casts and fixup decls
to avoid compiler warnings. Remove unused variable.
* win/tclWinNotify.c: Declare as DWORD instead
of int to avoid compiler warning.
* win/tclWinReg.c: Add casts to avoid compiler
warning. Fix assignment in if expression bug.
* win/tclWinSerial.c: Add casts to avoid compiler
warnings. Remove unused variable.
* win/tclWinSock.c: Add casts and fixup decls
to avoid compiler warnings.
FossilOrigin-Name: bba93619da24b912054d7ebe92d24a0e64bf7ef7
Diffstat (limited to 'win/tclWinNotify.c')
-rw-r--r-- | win/tclWinNotify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinNotify.c b/win/tclWinNotify.c index 5df1e8d..b7bb17d 100644 --- a/win/tclWinNotify.c +++ b/win/tclWinNotify.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: tclWinNotify.c,v 1.10 2001/12/14 10:32:47 dkf Exp $ + * RCS: @(#) $Id: tclWinNotify.c,v 1.11 2003/01/16 19:02:00 mdejong Exp $ */ #include "tclWinInt.h" @@ -533,7 +533,7 @@ Tcl_Sleep(ms) Tcl_Time now; /* Current wall clock time */ Tcl_Time desired; /* Desired wakeup time */ - int sleepTime = ms; /* Time to sleep */ + DWORD sleepTime = ms; /* Time to sleep */ Tcl_GetTime( &now ); desired.sec = now.sec + ( ms / 1000 ); |