summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Common/RequestManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/RequestManager.h b/src/Common/RequestManager.h
index 82a00f6..c94200f 100644
--- a/src/Common/RequestManager.h
+++ b/src/Common/RequestManager.h
@@ -58,13 +58,13 @@ class RequestManager {
RequestHandlerFactory() {}
public:
- virtual RequestHandler* createRequestHandler(Connection *connection, int16_t requestId) = 0;
+ virtual RequestHandler* createRequestHandler(Connection *connection, uint16_t requestId) = 0;
virtual ~RequestHandlerFactory() {}
};
template<class T> class SpecificRequestHandlerFactory : public RequestHandlerFactory {
public:
- virtual RequestHandler* createRequestHandler(Connection *connection, int16_t requestId) {
+ virtual RequestHandler* createRequestHandler(Connection *connection, uint16_t requestId) {
return new T(connection, requestId);
}
};