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.
This commit is contained in:
Danny Smith 2007-09-23 22:23:18 +00:00
parent 9594d5c342
commit c67e696c47
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
Make snprintf() and vsnprintf() conform to C99.

View File

@ -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;