Revert "fix cast warning caught on windows"

This reverts commit 4edb7447df.
This commit is contained in:
Benjamin Sergeant 2019-05-13 21:35:34 -07:00
parent 084805b248
commit 4ee502fa1a
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);