Get the long longs out of the Thrift codebase
Summary: Replace with int64_t and don't worry about what architecture machine you're on, the typedefed int64_t will do the right thing.
Reviewed By: aditya, marc
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665123 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/ThreadManager.cpp b/lib/cpp/src/concurrency/ThreadManager.cpp
index 1260e5a..56de4d0 100644
--- a/lib/cpp/src/concurrency/ThreadManager.cpp
+++ b/lib/cpp/src/concurrency/ThreadManager.cpp
@@ -100,7 +100,7 @@
bool canSleep();
- void add(shared_ptr<Runnable> value, long long timeout);
+ void add(shared_ptr<Runnable> value, int64_t timeout);
void remove(shared_ptr<Runnable> task);
@@ -412,7 +412,7 @@
return idMap_.find(id) == idMap_.end();
}
- void ThreadManager::Impl::add(shared_ptr<Runnable> value, long long timeout) {
+ void ThreadManager::Impl::add(shared_ptr<Runnable> value, int64_t timeout) {
Synchronized s(monitor_);
if (state_ != ThreadManager::STARTED) {