Author: delphij Date: Thu Oct 6 04:39:18 2011 New Revision: 226047 URL: http://svn.freebsd.org/changeset/base/226047
Log: Fix build on i386 and arm. Tested with: make universe Pointy hat to: delphij Modified: head/usr.bin/grep/regex/tre-fastmatch.c Modified: head/usr.bin/grep/regex/tre-fastmatch.c ============================================================================== --- head/usr.bin/grep/regex/tre-fastmatch.c Wed Oct 5 22:08:17 2011 (r226046) +++ head/usr.bin/grep/regex/tre-fastmatch.c Thu Oct 6 04:39:18 2011 (r226047) @@ -163,7 +163,7 @@ static int fastcmp(const fastmatch_t *fg shift = bc; \ else \ { \ - ts = ((long)u - v < 0) ? 0 : (u - v); \ + ts = (u >= v) ? (u - v) : 0; \ shift = MAX(ts, bc); \ shift = MAX(shift, gs); \ if (shift == gs) \ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"