Rename bigEndianToUnsignedInt to unsignedBigEndianToDouble.
diff --git a/ndn-cpp/c/encoding/BinaryXMLInterest.c b/ndn-cpp/c/encoding/BinaryXMLInterest.c
index 1dda876..2ba6e66 100644
--- a/ndn-cpp/c/encoding/BinaryXMLInterest.c
+++ b/ndn-cpp/c/encoding/BinaryXMLInterest.c
@@ -226,7 +226,7 @@
return error;
interest->interestLifetimeMilliseconds = 1000.0 *
- (double)ndn_BinaryXMLDecoder_bigEndianToUnsignedInt(interestLifetime, interestLifetimeLength) / 4096.0;
+ ndn_BinaryXMLDecoder_unsignedBigEndianToDouble(interestLifetime, interestLifetimeLength) / 4096.0;
}
else
interest->interestLifetimeMilliseconds = -1.0;