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:
parent
9594d5c342
commit
c67e696c47
|
@ -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>
|
2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
|
||||||
|
|
||||||
Make snprintf() and vsnprintf() conform to C99.
|
Make snprintf() and vsnprintf() conform to C99.
|
||||||
|
|
|
@ -465,7 +465,7 @@ x_sprintf
|
||||||
len = LEN_LL;
|
len = LEN_LL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
len = LEN_LL;
|
len = LEN_L;
|
||||||
goto fmtloop;
|
goto fmtloop;
|
||||||
case 'L':
|
case 'L':
|
||||||
flag_ld++;
|
flag_ld++;
|
||||||
|
@ -617,6 +617,7 @@ x_sprintf
|
||||||
break;
|
break;
|
||||||
case LEN_S:
|
case LEN_S:
|
||||||
*(short*)ip = c;
|
*(short*)ip = c;
|
||||||
|
break;
|
||||||
case LEN_LL:
|
case LEN_LL:
|
||||||
*(long long*) ip = c;
|
*(long long*) ip = c;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue