summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-28 21:42:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-28 21:42:54 (GMT)
commit5248fb06510fd1e34b13f7c4a69404ab926cf2be (patch)
tree8d4da3eb53f714af307b5c5255794d95ba0dcdff /unix
parent94780336613da72b26e6572a616a2dfe9f087eca (diff)
downloadtcl-5248fb06510fd1e34b13f7c4a69404ab926cf2be.zip
tcl-5248fb06510fd1e34b13f7c4a69404ab926cf2be.tar.gz
tcl-5248fb06510fd1e34b13f7c4a69404ab926cf2be.tar.bz2
More API changes using size_t. Internal changes not complete yet (WIP)
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixThrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index a510719..86c0954 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -62,7 +62,7 @@ TclpThreadCreate(
Tcl_ThreadId *idPtr, /* Return, the ID of the thread */
Tcl_ThreadCreateProc *proc, /* Main() function of the thread */
ClientData clientData, /* The one argument to Main() */
- int 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. */
{
@@ -76,7 +76,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 {
/*