From b08eca15fde733af2c63de6f860e35638fdfa2f0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 4 May 1999 14:31:27 +0000 Subject: [PATCH] (search_item): Use `1' instead of `+1'. The latter elicits a syntax error from SunOS4's cc. From Kaveh Ghazi. --- src/tsort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tsort.c b/src/tsort.c index 05a3bc0ebc..0eb9b57961 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -181,7 +181,7 @@ search_item (struct item *root, const char *str) else { r = p = s->right; - a = +1; + a = 1; } while (p != q) @@ -194,7 +194,7 @@ search_item (struct item *root, const char *str) } else { - p->balance = +1; + p->balance = 1; p = p->right; } } -- 2.47.3