Date: Sun, 9 Oct 2011 21:40:38 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r226178 - user/gabor/tre-integration/contrib/tre/lib Message-ID: <201110092140.p99LecJL027928@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gabor Date: Sun Oct 9 21:40:38 2011 New Revision: 226178 URL: http://svn.freebsd.org/changeset/base/226178 Log: - Fix build on some architectures Submitted by: delphij Modified: user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.c Modified: user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.c ============================================================================== --- user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.c Sun Oct 9 21:39:14 2011 (r226177) +++ user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.c Sun Oct 9 21:40:38 2011 (r226178) @@ -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) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110092140.p99LecJL027928>