summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r--win/tclWinTime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 45338dd..a7e8474 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -249,7 +249,7 @@ TclpGetClicks(void)
Tcl_Time now; /* Current Tcl time */
GetTime(&now);
- return (unsigned long) (now.sec * 1000000) + now.usec;
+ return ((unsigned long)(now.sec)*1000000UL) + (unsigned long)(now.usec);
}
}