64-bit fix to boost::format.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8555 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-03-29 09:00:32 +00:00
parent 3e80b0b318
commit fce4ab0e79
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-03-29 Angus Leeming <leeming@lyx.org>
* boost/format/internals.hpp: change the type of
format_item::truncate_ from 'int' to 'std::streamsize', thereby
fixing a run-time error when using the library on a 64-bit machine.
2004-02-05 Lars Gullik Bjonnes <larsbj@gullik.net>
* update boost to version 1.31.0

View File

@ -96,7 +96,7 @@ namespace detail {
stream_format_state fmtstate_;// set by parsing, is only affected by modify_item
signed int truncate_; //- is set for directives like %.5s that ask truncation
std::streamsize truncate_; //- is set for directives like %.5s that ask truncation
unsigned int pad_scheme_;//- several possible padding schemes can mix. see pad_values
};