Reviewed by Kevin Decker.
* platform/text/mac/TextCodecMac.cpp:
(WebCore::TextCodecMac::decode): OSStatus is a long for 32-bit but int on 64-bit,
so we need to cast it to be able to use a single format specifier on both.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28456
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-12-05 Mark Rowe <mrowe@apple.com>
+
+ Reviewed by Kevin Decker.
+
+ Fix 64-bit debug build.
+
+ * platform/text/mac/TextCodecMac.cpp:
+ (WebCore::TextCodecMac::decode): OSStatus is a long for 32-bit but int on 64-bit,
+ so we need to cast it to be able to use a single format specifier on both.
+
2007-12-05 Kevin Decker <kdecker@apple.com>
Reviewed by Hyatt.
break;
}
default:
- LOG_ERROR("text decoding failed with error %zu", status);
+ LOG_ERROR("text decoding failed with error %ld", static_cast<long>(status));
m_error = true;
return String();
}