diff options
-rw-r--r-- | lib/ChangeLog | 4 | ||||
-rw-r--r-- | lib/vasnprintf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 391e6b170..49c0e93c8 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2007-03-04 Jim Meyering <jim@meyering.net> + + * vasnprintf.c (VASNPRINTF): Add missing semicolon. + 2007-03-02 Jim Meyering <jim@meyering.net> * vasnprintf.c (VASNPRINTF): Remove cast of alloca return value. diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c index 567a67457..8be7ac480 100644 --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -469,7 +469,7 @@ VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list ar if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ - tmp_length += 12 + tmp_length += 12; if (tmp_length < 12) goto out_of_memory; break; |