summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-03-06 00:55:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-03-06 00:55:39 +0000
commit90b9fe051de690d1877de9de8573006631beeee8 (patch)
treec08284be02fee55a9cf17491dd62cd764768dffa
parente8c6fd79c061f0c48a39dded30ab1ec0430d496a (diff)
wrong type for variable; spotted by christian.siebert@cs.tu-chemnitz.de
ok guenther
-rw-r--r--lib/libc/stdlib/merge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/merge.c b/lib/libc/stdlib/merge.c
index 623f6521349..43ef8b08e26 100644
--- a/lib/libc/stdlib/merge.c
+++ b/lib/libc/stdlib/merge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: merge.c,v 1.8 2005/08/08 08:05:37 espie Exp $ */
+/* $OpenBSD: merge.c,v 1.9 2011/03/06 00:55:38 deraadt Exp $ */
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -248,8 +248,8 @@ void
setup(u_char *list1, u_char *list2, size_t n, size_t size,
int (*cmp)(const void *, const void *))
{
- int i, length, size2, tmp, sense;
- u_char *f1, *f2, *s, *l2, *last, *p2;
+ int i, length, size2, sense;
+ u_char tmp, *f1, *f2, *s, *l2, *last, *p2;
size2 = size*2;
if (n <= 5) {