locale_facets.tcc (num_put<>::do_put(bool)): Cast to a signed type, long according...
authorPaolo Carlini <pcarlini@suse.de>
Sun, 22 Aug 2004 17:55:51 +0000 (17:55 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 22 Aug 2004 17:55:51 +0000 (17:55 +0000)
commit44e91562edc08fc064375d7e39b6ab704e89da1b
treea5ee913b37e8296fee3796e2b3f62c56f7681640
parentefd610a684483259ed93aeb592373181416eb81c
locale_facets.tcc (num_put<>::do_put(bool)): Cast to a signed type, long according to the resolution of DR 359.

2004-08-22  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
to a signed type, long according to the resolution of DR 359.
* testsuite/22_locale/num_put/put/char/9.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/9.cc: New.

* include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
Simplify a bit: no need to clear showpos.

From-SVN: r86382
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/num_put/put/char/9.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/9.cc [new file with mode: 0644]