aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-03-03 22:45:16 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-03-03 23:06:32 +0100
commitd7461050ad82023b97b5f198312eead049fc0283 (patch)
treef55b25293af097af95adebb47416dec916055ecf
parent9b4d747db7d9d7faf06d7978dba0eb8409e391a3 (diff)
downloadman-pages-d7461050ad82023b97b5f198312eead049fc0283.tar.gz
pthread_create.3: Fix a signedness error in the example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/pthread_create.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/pthread_create.3 b/man3/pthread_create.3
index c28291457d..a1ede6e96c 100644
--- a/man3/pthread_create.3
+++ b/man3/pthread_create.3
@@ -329,7 +329,7 @@ main(int argc, char *argv[])
{
int s, opt, num_threads;
pthread_attr_t attr;
- size_t stack_size;
+ ssize_t stack_size;
void *res;
/* The "\-s" option specifies a stack size for our threads. */