summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old')
-rw-r--r--libpthread/linuxthreads.old/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/manager.c b/libpthread/linuxthreads.old/manager.c
index c68daa590..3e42ccb85 100644
--- a/libpthread/linuxthreads.old/manager.c
+++ b/libpthread/linuxthreads.old/manager.c
@@ -381,7 +381,7 @@ static int pthread_allocate_stack(const pthread_attr_t *attr,
attributes (stack_size = STACK_SIZE - pagesize) do not need
a guard page, since the RLIMIT_STACK soft limit prevents stacks
from running into one another. */
- if (stacksize == STACK_SIZE - pagesize)
+ if (stacksize == (size_t) (STACK_SIZE - pagesize))
{
/* We don't need a guard page. */
guardaddr = NULL;