From: tho Date: Mon, 24 Nov 2008 11:38:43 +0000 (+0000) Subject: VariantParser: unsigned/size_type bugfix for 64bit X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=ba25dbebb50190cfd7a897b27283157741c07b02;p=senf.git VariantParser: unsigned/size_type bugfix for 64bit git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@973 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/VariantParser.ct b/Packets/VariantParser.ct index b0ba3e8..63b46dc 100644 --- a/Packets/VariantParser.ct +++ b/Packets/VariantParser.ct @@ -35,7 +35,7 @@ template template prefix_ void senf::VariantParser::init() { - unsigned oldSize( bytes() ); + size_type oldSize( bytes() ); typedef typename boost::mpl::at >::type NewParser; if (oldSize < senf::init_bytes::value) { @@ -60,7 +60,7 @@ prefix_ void senf::VariantParser::init() ///////////////////////////////ct.e//////////////////////////////////////// #undef prefix_ - + // Local Variables: // mode: c++ // fill-column: 100