=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/diff/diffreg.c,v retrieving revision 1.79 retrieving revision 1.80 diff -c -r1.79 -r1.80 *** src/usr.bin/diff/diffreg.c 2010/07/16 21:47:02 1.79 --- src/usr.bin/diff/diffreg.c 2011/04/01 17:25:26 1.80 *************** *** 1,4 **** ! /* $OpenBSD: diffreg.c,v 1.79 2010/07/16 21:47:02 ray Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. --- 1,4 ---- ! /* $OpenBSD: diffreg.c,v 1.80 2011/04/01 17:25:26 nicm Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. *************** *** 642,653 **** stone(int *a, int n, int *b, int *c, int flags) { int i, k, y, j, l; ! int oldc, tc, oldl; ! u_int numtries; ! /* XXX move the isqrt() out of the macro to avoid multiple calls */ ! const u_int bound = (flags & D_MINIMAL) ? UINT_MAX : ! MAX(256, isqrt(n)); k = 0; c[0] = newcand(0, 0, 0); --- 642,656 ---- stone(int *a, int n, int *b, int *c, int flags) { int i, k, y, j, l; ! int oldc, tc, oldl, sq; ! u_int numtries, bound; ! if (flags & D_MINIMAL) ! bound = UINT_MAX; ! else { ! sq = isqrt(n); ! bound = MAX(256, sq); ! } k = 0; c[0] = newcand(0, 0, 0);