diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-10 19:40:31 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-10 19:40:31 (GMT) |
| commit | 3388de58026867489481fa6166060b6fadb076e0 (patch) | |
| tree | 21aaab17fefafdb27d0764cacfae684d2a06b6d1 /unix/tclUnixThrd.c | |
| parent | 0cee5a8e4e954f175a4c7c006f7241a477351a6b (diff) | |
| parent | 7e719795438ad86eff493fcd9f84f325c1a50c99 (diff) | |
| download | tcl-3388de58026867489481fa6166060b6fadb076e0.zip tcl-3388de58026867489481fa6166060b6fadb076e0.tar.gz tcl-3388de58026867489481fa6166060b6fadb076e0.tar.bz2 | |
Merge 8.7
Diffstat (limited to 'unix/tclUnixThrd.c')
| -rw-r--r-- | unix/tclUnixThrd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 5d357c9..71e451f 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -214,7 +214,7 @@ TclpThreadCreate( Tcl_ThreadId *idPtr, /* Return, the ID of the thread */ Tcl_ThreadCreateProc *proc, /* Main() function of the thread */ void *clientData, /* The one argument to Main() */ - TCL_HASH_TYPE stackSize, /* Size of stack for the new thread */ + size_t stackSize, /* Size of stack for the new thread */ int flags) /* Flags controlling behaviour of the new * thread. */ { @@ -228,7 +228,7 @@ TclpThreadCreate( #ifdef HAVE_PTHREAD_ATTR_SETSTACKSIZE if (stackSize != TCL_THREAD_STACK_DEFAULT) { - pthread_attr_setstacksize(&attr, (size_t)stackSize); + pthread_attr_setstacksize(&attr, stackSize); #ifdef TCL_THREAD_STACK_MIN } else { /* |
