TFileTransport %lu => %u
Summary: compiler warnings are lame
Reviewed By: aditya
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664968 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/transport/TFileTransport.cpp b/lib/cpp/src/transport/TFileTransport.cpp
index a9beff9..61f1b80 100644
--- a/lib/cpp/src/transport/TFileTransport.cpp
+++ b/lib/cpp/src/transport/TFileTransport.cpp
@@ -122,7 +122,7 @@
void TFileTransport::enqueueEvent(const uint8_t* buf, uint32_t eventLen, bool blockUntilFlush) {
// make sure that event size is valid
if ( (maxEventSize_ > 0) && (eventLen > maxEventSize_) ) {
- T_ERROR("msg size is greater than max event size: %lu > %u\n", eventLen, maxEventSize_);
+ T_ERROR("msg size is greater than max event size: %u > %u\n", eventLen, maxEventSize_);
return;
}