diff options
author | Jim Meyering <jim@meyering.net> | 2005-10-05 18:53:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-10-05 18:53:55 +0000 |
commit | 111bac99434fb1514c4636450504c9a518598714 (patch) | |
tree | 66f00d7be94ded09772e4a72cc25a2d17910edd4 /src | |
parent | 3614c429024eaa60407768fccf4af9e85acede7f (diff) | |
download | coreutils-111bac99434fb1514c4636450504c9a518598714.tar.xz |
(sortlines_temp): Declare temporary as `int' rather
than `bool' to work around AIX 5.3 compiler bug in 64-bit mode.
Diffstat (limited to 'src')
-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 7b736c152..132217576 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1720,7 +1720,7 @@ sortlines_temp (struct line *lines, size_t nlines, struct line *temp) { if (nlines == 2) { - bool swap = (0 < compare (&lines[-1], &lines[-2])); + int swap = (0 < compare (&lines[-1], &lines[-2])); temp[-1] = lines[-1 - swap]; temp[-2] = lines[-2 + swap]; } |