From 111bac99434fb1514c4636450504c9a518598714 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Oct 2005 18:53:55 +0000 Subject: (sortlines_temp): Declare temporary as `int' rather than `bool' to work around AIX 5.3 compiler bug in 64-bit mode. --- src/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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]; } -- cgit v1.2.3-70-g09d2