Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2007-09-24 02:23:18 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2007-09-24 02:23:18 +0400
commitc67e696c471ae1b12b3316b31e13cfcb78a98376 (patch)
tree7dfdb00cff535e883714208febb894b801f6487d /winsup/mingw/mingwex
parent9594d5c34280edea9355a2e951c27c2aea269e7d (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-xwinsup/mingw/mingwex/gdtoa/mingw_snprintf.c3
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;