From d7461050ad82023b97b5f198312eead049fc0283 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 3 Mar 2021 22:45:16 +0100 Subject: [PATCH] pthread_create.3: Fix a signedness error in the example code Signed-off-by: Michael Kerrisk --- man3/pthread_create.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/pthread_create.3 b/man3/pthread_create.3 index c28291457..a1ede6e96 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. */