diff options
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
| -rw-r--r-- | src/lib/libc/stdlib/malloc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c index bdae6f00a3..54a802b0c9 100644 --- a/src/lib/libc/stdlib/malloc.c +++ b/src/lib/libc/stdlib/malloc.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | */ | 8 | */ | 
| 9 | 9 | ||
| 10 | #if defined(LIBC_SCCS) && !defined(lint) | 10 | #if defined(LIBC_SCCS) && !defined(lint) | 
| 11 | static char rcsid[] = "$OpenBSD: malloc.c,v 1.10 1996/09/11 03:04:43 deraadt Exp $"; | 11 | static char rcsid[] = "$OpenBSD: malloc.c,v 1.11 1996/09/15 09:31:49 tholo Exp $"; | 
| 12 | #endif /* LIBC_SCCS and not lint */ | 12 | #endif /* LIBC_SCCS and not lint */ | 
| 13 | 13 | ||
| 14 | /* | 14 | /* | 
| @@ -813,7 +813,7 @@ malloc_bytes(size) | |||
| 813 | ; | 813 | ; | 
| 814 | 814 | ||
| 815 | /* Find that bit, and tweak it */ | 815 | /* Find that bit, and tweak it */ | 
| 816 | k = ffs(*lp) - 1; | 816 | k = ffs((unsigned)*lp) - 1; | 
| 817 | *lp ^= 1<<k; | 817 | *lp ^= 1<<k; | 
| 818 | 818 | ||
| 819 | /* If there are no more free, remove from free-list */ | 819 | /* If there are no more free, remove from free-list */ | 
