From f093cd523bb916004256b043545bac5f1e499e46 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 27 Dec 2005 09:53:18 +0000 Subject: typecast away a signed/unsigned warning --- libpthread/linuxthreads.old/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread') 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; -- cgit v1.2.3