pthread_create.3: Fix a signedness error in the example code

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-03-03 22:45:16 +01:00
parent 9b4d747db7
commit d7461050ad
1 changed files with 1 additions and 1 deletions

View File

@ -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. */