Created
August 20, 2016 06:35
-
-
Save saitoha/78166cadf206e1ca47d966a22f452c6b to your computer and use it in GitHub Desktop.
Xsixel on cygwin-i686
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/os/WaitFor.c b/os/WaitFor.c | |
index 3eb15b9..155519c 100644 | |
--- a/os/WaitFor.c | |
+++ b/os/WaitFor.c | |
@@ -316,7 +316,7 @@ WaitForSomething(int *pClientsReady) | |
nready = 0; | |
if (XFD_ANYSET(&clientsReadable)) { | |
#ifndef WIN32 | |
- for (i = 0; i < howmany(XFD_SETSIZE, NFDBITS); i++) { | |
+ for (i = 0; i < howmany(FD_SETSIZE, NFDBITS); i++) { | |
int highest_priority = 0; | |
while (clientsReadable.fds_bits[i]) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment