diff options
| author | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-05-09 07:08:43 -0700 |
|---|---|---|
| committer | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-05-09 07:08:43 -0700 |
| commit | 3f5fd305afbe63c6bc4af5e06b315f4fce60b694 (patch) | |
| tree | 8a85b5d7d3e5623d30f3a3899b5a557675b6b610 | |
| parent | 3c0a73822dd173b47ac5c04935b64af552093a44 (diff) | |
| download | tinycc-3f5fd305afbe63c6bc4af5e06b315f4fce60b694.tar.gz tinycc-3f5fd305afbe63c6bc4af5e06b315f4fce60b694.tar.bz2 | |
Touch up previous "s"[i<2] patch
The real equivalence is between the original "s" + (i<2)
and &"s"[i<2].
| -rw-r--r-- | tccpe.c | 2 | ||||
| -rw-r--r-- | tcctools.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -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; |
