diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-21 16:30:25 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-21 16:30:25 (GMT) |
| commit | 5480ada099bf8482a73fa4ed4fbc35a49039e2d2 (patch) | |
| tree | a2d51ad7afadaf9e95884947749426d2960305d7 /unix/tclUnixTime.c | |
| parent | 058d08c66ff3c104f9fbc29919b0220f888374f3 (diff) | |
| parent | c736c693049e659603b5cc2efb22092d921cc250 (diff) | |
| download | tcl-5480ada099bf8482a73fa4ed4fbc35a49039e2d2.zip tcl-5480ada099bf8482a73fa4ed4fbc35a49039e2d2.tar.gz tcl-5480ada099bf8482a73fa4ed4fbc35a49039e2d2.tar.bz2 | |
Merge 8.6
Diffstat (limited to 'unix/tclUnixTime.c')
| -rw-r--r-- | unix/tclUnixTime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c index e0c7ac8..6ca641d 100644 --- a/unix/tclUnixTime.c +++ b/unix/tclUnixTime.c @@ -155,7 +155,7 @@ TclpGetClicks(void) Tcl_Time time; GetTime(&time); - now = time.sec*1000000 + time.usec; + now = ((unsigned long)(time.sec)*1000000UL) + (unsigned long)(time.usec); } else { /* * A semi-NativeGetTime, specialized to clicks. @@ -168,7 +168,7 @@ TclpGetClicks(void) Tcl_Time time; GetTime(&time); - now = time.sec*1000000 + time.usec; + now = ((unsigned long)(time.sec)*1000000UL) + (unsigned long)(time.usec); #endif /* NO_GETTOD */ return now; |
