GenericTLVPacketParser: fix for 64bit
tho [Mon, 12 Jan 2009 16:26:10 +0000 (16:26 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1058 270642c3-0616-0410-b53a-bc976706d245

Packets/80221Bundle/TLVPacket.ct

index 26e53f3..5800158 100644 (file)
@@ -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 <class ForwardReadableRange>
 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() ));