From 9567798283caa83a8e2c13b73147f2c9bf46dfcd Mon Sep 17 00:00:00 2001 From: brad Date: Sat, 13 Nov 2004 00:15:08 +0000 Subject: [PATCH] Fixed signed warning in debug only code --- src/makernote.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/makernote.cpp b/src/makernote.cpp index c02793b2..a2501bb2 100644 --- a/src/makernote.cpp +++ b/src/makernote.cpp @@ -376,8 +376,8 @@ namespace Exiv2 { { #ifdef DEBUG_REGISTRY std::cerr << " Matching registry entry \"" << regEntry << "\" (" - << regEntry.size() << ") with key \"" << key << "\" (" - << key.size() << "): "; + << (int)regEntry.size() << ") with key \"" << key << "\" (" + << (int)key.size() << "): "; #endif // Todo: make the comparisons case insensitive @@ -385,7 +385,7 @@ namespace Exiv2 { // return value - the following algorithm also finds exact matches) if (regEntry == key) { #ifdef DEBUG_REGISTRY - std::cerr << "Exact match (score: " << key.size() + 2 << ")\n"; + std::cerr << "Exact match (score: " << (int)key.size() + 2 << ")\n"; #endif return static_cast(key.size()) + 2; }