summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:20:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:20:22 +0000
commit181ba6e4385032b6e9549c998561fef9971ff061 (patch)
tree6a680ac3c2d47da554a5c7b517a8e09524e73033
parentd6572f8e1e4cadf21c1a303871e4c09aa9037bd2 (diff)
signed vs unsigned
-rw-r--r--lib/libc/stdio/vfprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 96b144ebf7f..b8291ffbdfe 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: vfprintf.c,v 1.20 2003/06/02 20:18:37 millert Exp $";
+static char *rcsid = "$OpenBSD: vfprintf.c,v 1.21 2004/09/14 22:20:21 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -1080,7 +1080,7 @@ __grow_type_table(typetable, tablesize)
/* XXX unchecked */
bcopy(oldtable, *typetable, *tablesize);
} else {
- char *new = (unsigned char *)mmap(NULL,
+ unsigned char *new = (unsigned char *)mmap(NULL,
sizeof (unsigned char) * newsize, PROT_WRITE|PROT_READ,
MAP_ANON|MAP_PRIVATE, -1, 0);
memmove(new, *typetable, *tablesize);