=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/diff.c,v retrieving revision 1.10 retrieving revision 1.11 diff -c -r1.10 -r1.11 *** src/usr.bin/rcs/diff.c 2006/09/27 06:25:46 1.10 --- src/usr.bin/rcs/diff.c 2007/02/22 08:30:45 1.11 *************** *** 1,4 **** ! /* $OpenBSD: diff.c,v 1.10 2006/09/27 06:25:46 ray Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: diff.c,v 1.11 2007/02/22 08:30:45 xsa Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. * All rights reserved. *************** *** 536,542 **** 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; if ((ret = newcand(0, 0, 0)) < 0) --- 536,543 ---- 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, (u_int)isqrt(n)); k = 0; if ((ret = newcand(0, 0, 0)) < 0)