VariantParser: unsigned/size_type bugfix for 64bit
tho [Mon, 24 Nov 2008 11:38:43 +0000 (11:38 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@973 270642c3-0616-0410-b53a-bc976706d245

Packets/VariantParser.ct

index b0ba3e8..63b46dc 100644 (file)
@@ -35,7 +35,7 @@ template <class AuxPolicy, class Parsers>
 template <unsigned N>
 prefix_ void senf::VariantParser<AuxPolicy,Parsers>::init()
 {
-    unsigned oldSize( bytes() );
+    size_type oldSize( bytes() );
     typedef typename boost::mpl::at<parsers, boost::mpl::int_<N> >::type NewParser;
 
     if (oldSize < senf::init_bytes<NewParser>::value) {
@@ -60,7 +60,7 @@ prefix_ void senf::VariantParser<AuxPolicy,Parsers>::init()
 ///////////////////////////////ct.e////////////////////////////////////////
 #undef prefix_
 
-\f
+
 // Local Variables:
 // mode: c++
 // fill-column: 100