diff -up libextractor-1.3/src/plugins/exiv2_extractor.cc.exiv_026 libextractor-1.3/src/plugins/exiv2_extractor.cc --- libextractor-1.3/src/plugins/exiv2_extractor.cc.exiv_026 2013-06-25 06:02:05.000000000 -0500 +++ libextractor-1.3/src/plugins/exiv2_extractor.cc 2017-05-11 08:14:07.931182160 -0500 @@ -180,7 +180,7 @@ public: * * @return -1 on error */ - virtual long int size (void) const; + virtual size_t size (void) const; /** * Check if file is open. @@ -445,10 +445,10 @@ ExtractorIO::tell (void) const * * @return -1 on error */ -long int +size_t ExtractorIO::size (void) const { - return (long) ec->get_size (ec->cls); + return ec->get_size (ec->cls); }