THRIFT-411. cpp: Make TNonblockingServer::connectionStackLimit_ accessors use the right type


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761481 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/server/TNonblockingServer.h b/lib/cpp/src/server/TNonblockingServer.h
index a14c42a..1684b64 100644
--- a/lib/cpp/src/server/TNonblockingServer.h
+++ b/lib/cpp/src/server/TNonblockingServer.h
@@ -171,7 +171,7 @@
    *
    * @return the current limit on TConnection pool size.
    */
-  int getConnectionStackLimit() const {
+  size_t getConnectionStackLimit() const {
     return connectionStackLimit_;
   }
 
@@ -180,7 +180,7 @@
    *
    * @param sz the new limit for TConnection pool size.
    */
-  void setConnectionStackLimit(int sz) {
+  void setConnectionStackLimit(size_t sz) {
     connectionStackLimit_ = sz;
   }