diff options
| author | Toby Goodwin <tjg@star.le.ac.uk> | 2001-11-20 16:01:03 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:22:10 +0100 |
| commit | bc11ebf09feec23608459c8e632f30369c6bae49 (patch) | |
| tree | aa980b13408590c9deac656d24a9f2283e61e87a /print.c | |
| parent | 2ef8a59ae61b83ad2ba9d4c9381eead5ae403cb0 (diff) | |
candidate: rc-1.6c5
Diffstat (limited to 'print.c')
| -rw-r--r-- | print.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -69,9 +69,9 @@ static bool sconv(Format *format, int ignore) { return FALSE; } -static char *utoa(unsigned long u, char *t, unsigned int radix, const char *digit) { +static char *rc_utoa(unsigned long u, char *t, unsigned int radix, const char *digit) { if (u >= radix) { - t = utoa(u / radix, t, radix, digit); + t = rc_utoa(u / radix, t, radix, digit); u %= radix; } *t++ = digit[u]; @@ -117,7 +117,7 @@ static void intconv(Format *format, unsigned int radix, int upper, const char *a while (*altform != '\0') prefix[pre++] = *altform++; - len = utoa(u, number, radix, table[upper]) - number; + len = rc_utoa(u, number, radix, table[upper]) - number; if ((flags & FMT_f2set) && (size_t) format->f2 > len) zeroes = format->f2 - len; else |