diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-23 16:35:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-23 16:35:08 (GMT) |
commit | b97fb3b2fa5d09e78d3ae457a3371c6ac4db1ec3 (patch) | |
tree | 9d896987899159e7380c17729e193859542c090a | |
parent | e3e0d5f7912c1da775aefad6b4ad622d1a43d052 (diff) | |
download | tcl-b97fb3b2fa5d09e78d3ae457a3371c6ac4db1ec3.zip tcl-b97fb3b2fa5d09e78d3ae457a3371c6ac4db1ec3.tar.gz tcl-b97fb3b2fa5d09e78d3ae457a3371c6ac4db1ec3.tar.bz2 |
Use portable %p modifier in "generic/tclThreadTest.c", in stead of more complicated TCL_LL_MODIFIER.
-rw-r--r-- | generic/tclThreadTest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c index 1a05f80..5bb0165 100644 --- a/generic/tclThreadTest.c +++ b/generic/tclThreadTest.c @@ -655,7 +655,7 @@ ThreadErrorProc( char *script; char buf[TCL_DOUBLE_SPACE+1]; - sprintf(buf, "%" TCL_LL_MODIFIER "d", (Tcl_WideInt)(size_t)Tcl_GetCurrentThread()); + sprintf(buf, "%p", Tcl_GetCurrentThread()); errorInfo = Tcl_GetVar2(interp, "errorInfo", NULL, TCL_GLOBAL_ONLY); if (errorProcString == NULL) { |