From 3f5fd305afbe63c6bc4af5e06b315f4fce60b694 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Tue, 9 May 2017 07:08:43 -0700 Subject: [PATCH] Touch up previous "s"[i<2] patch The real equivalence is between the original "s" + (i<2) and &"s"[i<2]. --- tccpe.c | 2 +- tcctools.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tccpe.c b/tccpe.c index cecdd37..ff7c128 100644 --- a/tccpe.c +++ b/tccpe.c @@ -965,7 +965,7 @@ static void pe_build_exports(struct pe_info *pe) } else { fprintf(op, "LIBRARY %s\n\nEXPORTS\n", dllname); if (pe->s1->verbose) - printf("<- %s (%d symbol%s)\n", buf, sym_count, "s"[sym_count < 2]); + printf("<- %s (%d symbol%s)\n", buf, sym_count, &"s"[sym_count < 2]); } #endif diff --git a/tcctools.c b/tcctools.c index 34cefa1..48c7153 100644 --- a/tcctools.c +++ b/tcctools.c @@ -390,7 +390,7 @@ usage: } if (v) - printf("<- %s (%d symbol%s)\n", outfile, i, "s"[i<2]); + printf("<- %s (%d symbol%s)\n", outfile, i, &"s"[i<2]); ret = 0;