diff --git a/ixwebsocket/IXSocket.cpp b/ixwebsocket/IXSocket.cpp index e855f125..e2794229 100644 --- a/ixwebsocket/IXSocket.cpp +++ b/ixwebsocket/IXSocket.cpp @@ -129,7 +129,7 @@ namespace ix } // Wake up from poll/select by writing to the pipe which is watched by select - bool Socket::wakeUpFromPoll(uint64_t wakeUpCode) + bool Socket::wakeUpFromPoll(uint8_t wakeUpCode) { return _selectInterrupt->notify(wakeUpCode); } diff --git a/ixwebsocket/IXSocket.h b/ixwebsocket/IXSocket.h index e2c0da5e..288ac4d2 100644 --- a/ixwebsocket/IXSocket.h +++ b/ixwebsocket/IXSocket.h @@ -57,7 +57,7 @@ namespace ix // Functions to check whether there is activity on the socket PollResultType poll(int timeoutMs = kDefaultPollTimeout); - bool wakeUpFromPoll(uint64_t wakeUpCode); + bool wakeUpFromPoll(uint8_t wakeUpCode); PollResultType isReadyToWrite(int timeoutMs); PollResultType isReadyToRead(int timeoutMs);