Path : /inet4.5/src/inet/common/packet/Serilizer/FieldsChunkSerializer file it is showing the bello error.
CODE:
“CHUNK_CHECK_USAGE(B(fieldsChunk->getSerializedBytes()->size()) == chunk->getChunkLength(), “serialized length is incorrect: serialized=%ld, chunk=%ld”, fieldsChunk->getSerializedBytes()->size(), B(chunk->getChunkLength()).get());
stream.writeBytes(*fieldsChunk->getSerializedBytes(), offset, length == b(-1) ? chunk->getChunkLength() – offset : length);”
Error:
format specifies type ‘long’ but the argument has type ‘inet::units::value<long long, inet::units::intscale<inet::units::units::b, 1, 8>>::value_type’ (aka ‘long long’) [-Wformat] FieldsChunkSerializer.cc line 31 C/C++ Problem
how to resolve this