diff options
-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 e9a8354c4..fd9922120 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1863,7 +1863,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]; } |