diff options
author | Jim Meyering <jim@meyering.net> | 2002-01-21 22:02:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-01-21 22:02:28 +0000 |
commit | 2d1ec9382155be4b86ac09354c3b1c261613625d (patch) | |
tree | 941ac04220bfeacec92e2ef5477c573c1c9328cf | |
parent | 012945ff54e9823ea329e8c954e8cfef6828115e (diff) | |
download | coreutils-2d1ec9382155be4b86ac09354c3b1c261613625d.tar.xz |
(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.
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |