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
// 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);
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();