From 2d1ec9382155be4b86ac09354c3b1c261613625d Mon Sep 17 00:00:00 2001 From: Jim Meyering <jim@meyering.net> Date: Mon, 21 Jan 2002 22:02:28 +0000 Subject: (CMP_WITH_IGNORE): Don't assume that the difference between two size_t values can be stored in an int; this doesn't work, for example, on 64-bit Solaris. --- src/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sort.c b/src/sort.c index ac82dcf71..409071a30 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1431,7 +1431,7 @@ keycompare (const struct line *a, const struct line *b) ++textb; \ } \ \ - diff = (lima - texta) - (limb - textb); \ + diff = (texta < lima) - (textb < limb); \ } \ while (0) -- cgit v1.2.3-70-g09d2