]> git.lyx.org Git - features.git/commitdiff
64-bit fix to boost::format.
authorAngus Leeming <leeming@lyx.org>
Mon, 29 Mar 2004 09:00:32 +0000 (09:00 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 29 Mar 2004 09:00:32 +0000 (09:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8555 a592a061-630c-0410-9148-cb99ea01b6c8

boost/ChangeLog
boost/boost/format/internals.hpp

index 532d8aec47d3d46744db5ec8f3bb6f6a88980d8f..b1fe8e846dcb09c83f2ebf995021ce299f2064c7 100644 (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
index 6c0647b8afe0b62820fb8b00a654a890c0383c68..7690373b7b5d6c77b7add03d453b01b910af83a8 100644 (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
     };