diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 5298ee5..915b74d 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -172,7 +172,7 @@ char *utoa_to_buf(unsigned n, char *buf, unsigned buflen) /* Convert signed integer to ascii, like utoa_to_buf() */ char *itoa_to_buf(int n, char *buf, unsigned buflen) { - if (buflen && n<0) { + if (buflen && n < 0) { n = -n; *buf++ = '-'; buflen--; |