mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-28 08:10:25 +08:00
Touch up previous "s"[i<2] patch
The real equivalence is between the original "s" + (i<2) and &"s"[i<2].
This commit is contained in:
parent
3c0a73822d
commit
3f5fd305af
2
tccpe.c
2
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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user