Skip to content
Snippets Groups Projects
Commit 47a8059c authored by tho's avatar tho
Browse files

VariantParser: unsigned/size_type bugfix for 64bit

parent fbf9a729
No related branches found
No related tags found
No related merge requests found
......@@ -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_
// Local Variables:
// mode: c++
// fill-column: 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment