fix sign-compare issue
This commit is contained in:
parent
2360d0845a
commit
19b046886f
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: merge.c,v 1.11 2003/08/07 16:43:42 agc Exp $ */
|
||||
/* $NetBSD: merge.c,v 1.12 2009/02/12 03:12:36 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "from: @(#)merge.c 8.2 (Berkeley) 2/14/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: merge.c,v 1.11 2003/08/07 16:43:42 agc Exp $");
|
||||
__RCSID("$NetBSD: merge.c,v 1.12 2009/02/12 03:12:36 lukem Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -114,7 +114,8 @@ mergesort(base, nmemb, size, cmp)
|
||||
size_t size;
|
||||
int (*cmp) __P((const void *, const void *));
|
||||
{
|
||||
int i, sense;
|
||||
size_t i;
|
||||
int sense;
|
||||
int big, iflag;
|
||||
u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2;
|
||||
u_char *list2, *list1, *p2, *p, *last, **p1;
|
||||
|
Loading…
Reference in New Issue
Block a user