From: tho Date: Mon, 12 Jan 2009 16:26:10 +0000 (+0000) Subject: GenericTLVPacketParser: fix for 64bit X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=eb89ea10c8c11d2ef12239cb037c958dec50f006;p=senf.git GenericTLVPacketParser: fix for 64bit git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1058 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/80221Bundle/TLVPacket.ct b/Packets/80221Bundle/TLVPacket.ct index 26e53f3..5800158 100644 --- a/Packets/80221Bundle/TLVPacket.ct +++ b/Packets/80221Bundle/TLVPacket.ct @@ -1,4 +1,4 @@ -// $Id: TLVPacket.ct 1029 2008-12-19 13:08:19Z tho $ +// $Id$ // // Copyright (C) 2007 // Fraunhofer Institute for Open Communication Systems (FOKUS) @@ -33,8 +33,8 @@ template prefix_ void senf::GenericTLVPacketParser::value(ForwardReadableRange const &range) { - size_type range_size ( boost::size(range)); - size_type current_length ( length()); + DynamicTLVLengthParser::value_type range_size ( boost::size(range)); + DynamicTLVLengthParser::value_type current_length ( length()); length( range_size); safe_data_iterator si (data(), boost::next(i(), 1 + length_bytes() ));