summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/manager.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-27 09:53:18 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-27 09:53:18 +0000
commitf093cd523bb916004256b043545bac5f1e499e46 (patch)
tree5fad4c40ebcb8f3d7c2ac901b0c9469d1346ff1f /libpthread/linuxthreads.old/manager.c
parent0644d70924f95944ad8ce1b411e2a4634057cc90 (diff)
typecast away a signed/unsigned warning
Diffstat (limited to 'libpthread/linuxthreads.old/manager.c')
-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;