diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2007-09-24 02:23:18 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2007-09-24 02:23:18 +0400 |
commit | c67e696c471ae1b12b3316b31e13cfcb78a98376 (patch) | |
tree | 7dfdb00cff535e883714208febb894b801f6487d /winsup/mingw/mingwex | |
parent | 9594d5c34280edea9355a2e951c27c2aea269e7d (diff) |
Committed as obvious:
2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
* mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
case. Add missing break in 's'/LEN_S case.
Diffstat (limited to 'winsup/mingw/mingwex')
-rwxr-xr-x | winsup/mingw/mingwex/gdtoa/mingw_snprintf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c b/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c index f063d2c4b..5e4e11960 100755 --- a/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c +++ b/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c @@ -465,7 +465,7 @@ x_sprintf len = LEN_LL; } else - len = LEN_LL; + len = LEN_L; goto fmtloop; case 'L': flag_ld++; @@ -617,6 +617,7 @@ x_sprintf break; case LEN_S: *(short*)ip = c; + break; case LEN_LL: *(long long*) ip = c; break; |