2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/stdio/pformat.c: Implement better fix for type punned warning.
This commit is contained in:
parent
b70cd7bca1
commit
d826cbf322
@ -1,3 +1,7 @@
|
|||||||
|
2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||||
|
|
||||||
|
* mingwex/stdio/pformat.c: Implement better fix for type punned warning.
|
||||||
|
|
||||||
2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
|
2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
|
||||||
|
|
||||||
Convert to monolithic configuration procedure.
|
Convert to monolithic configuration procedure.
|
||||||
|
@ -1883,8 +1883,7 @@ int __pformat( int flags, void *dest, int max, const char *fmt, va_list argv )
|
|||||||
* `wchar_t' data, (which is promoted to an `int' argument)...
|
* `wchar_t' data, (which is promoted to an `int' argument)...
|
||||||
*/
|
*/
|
||||||
argval.__pformat_ullong_t = (wchar_t)(va_arg( argv, int ));
|
argval.__pformat_ullong_t = (wchar_t)(va_arg( argv, int ));
|
||||||
void *tmp = &argval;
|
__pformat_wputchars( (wchar_t *)argval.__pformat_ptr_t, 1, &stream );
|
||||||
__pformat_wputchars( (wchar_t *)tmp, 1, &stream );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user