Browse Source

typecast away a signed/unsigned warning

Mike Frysinger 20 years ago
parent
commit
f093cd523b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/linuxthreads.old/manager.c

+ 1 - 1
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;