-- Fix compiler warnings

Summary:
- These showed up when I was compiling on my local machine (cygwin!!)

Reviewed By: thrifty


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665055 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/transport/TFileTransport.cpp b/lib/cpp/src/transport/TFileTransport.cpp
index 56009b7..edba17e 100644
--- a/lib/cpp/src/transport/TFileTransport.cpp
+++ b/lib/cpp/src/transport/TFileTransport.cpp
@@ -596,7 +596,7 @@
       // point and punt on the error 
       readState_.resetState(readState_.lastDispatchPtr_);
       char errorMsg[1024];
-      sprintf(errorMsg, "TFileTransport: log file corrupted at offset:%lu", 
+      sprintf(errorMsg, "TFileTransport: log file corrupted at offset:%llu", 
               offset_ + readState_.lastDispatchPtr_);
       perror(errorMsg);
       throw TTransportException(errorMsg);
diff --git a/lib/cpp/src/transport/TFileTransport.h b/lib/cpp/src/transport/TFileTransport.h
index 235a2fe..f4d25f4 100644
--- a/lib/cpp/src/transport/TFileTransport.h
+++ b/lib/cpp/src/transport/TFileTransport.h
@@ -148,7 +148,7 @@
   uint32_t read(uint8_t* buf, uint32_t len);
 
   // log-file specific functions
-  void seekToChunk(int chunk);
+  void seekToChunk(int32_t chunk);
   void seekToEnd();
   uint32_t getNumChunks();
   uint32_t getCurChunk();