From: Mark Slee Date: Fri, 2 Feb 2007 00:09:51 +0000 (+0000) Subject: TFileTransport %lu => %u X-Git-Tag: 0.2.0~1504 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=f23cfd810c75ebeb725380a9e40fd91eea884399;p=common%2Fthrift.git 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 a9beff93..61f1b805 100644 --- a/lib/cpp/src/transport/TFileTransport.cpp +++ b/lib/cpp/src/transport/TFileTransport.cpp @@ -122,7 +122,7 @@ TFileTransport::~TFileTransport() { 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; }