From f23cfd810c75ebeb725380a9e40fd91eea884399 Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Fri, 2 Feb 2007 00:09:51 +0000 Subject: [PATCH] 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 --- lib/cpp/src/transport/TFileTransport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.17.1