TFileTransport %lu => %u
authorMark Slee <mcslee@apache.org>
Fri, 2 Feb 2007 00:09:51 +0000 (00:09 +0000)
committerMark Slee <mcslee@apache.org>
Fri, 2 Feb 2007 00:09:51 +0000 (00:09 +0000)
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

lib/cpp/src/transport/TFileTransport.cpp

index a9beff9..61f1b80 100644 (file)
@@ -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;
   }