From 609dbe60d3e02cc5efdbcee940580aecc310bfaa Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Sun, 13 Aug 2006 14:55:39 +0000 Subject: [PATCH] Workaround for 64 bit long values (David Cannings) --- src/ifd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifd.cpp b/src/ifd.cpp index 0cc9bd85..2bd439da 100644 --- a/src/ifd.cpp +++ b/src/ifd.cpp @@ -703,7 +703,7 @@ namespace Exiv2 { std::ostringstream offset; if (i->size() > 4) { offset << " 0x" << std::setw(8) << std::setfill('0') - << std::hex << std::right << i->offset(); + << std::hex << std::right << static_cast(i->offset()); } else { const byte* data = i->data();