diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 12:03:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 12:03:25 (GMT) |
commit | 63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350 (patch) | |
tree | 380c8174739958989e5022ea5c613c74b7747df6 /generic/tclBasic.c | |
parent | 6203c60601717753524d662bbc900adfa3e86ddf (diff) | |
parent | 96af7fcd51a853aac2eb09b6de444a9789e04638 (diff) | |
download | tcl-63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350.zip tcl-63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350.tar.gz tcl-63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 764e0d9..954b2b3 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -6750,7 +6750,7 @@ ExprRandFunc( * to insure different seeds in different threads (bug #416643) */ - iPtr->randSeed = TclpGetClicks() + ((long)Tcl_GetCurrentThread()<<12); + iPtr->randSeed = TclpGetClicks() + (PTR2INT(Tcl_GetCurrentThread())<<12); /* * Make sure 1 <= randSeed <= (2^31) - 2. See below. |