mirror of https://github.com/mkerrisk/man-pages
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:
parent
9b4d747db7
commit
d7461050ad
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue