Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/commit-h-single-parent-cleanup' into maint
[gitweb.git]
/
compat
/
poll
/
poll.c
diff --git
a/compat/poll/poll.c
b/compat/poll/poll.c
index db4e03ed793eead425f2fa53c2a1777b1401269a..b10adc780fc334383f2684d21fa1c5a8d92771b9 100644
(file)
--- a/
compat/poll/poll.c
+++ b/
compat/poll/poll.c
@@
-76,7
+76,7
@@
#ifdef WIN32_NATIVE
-#define IsConsoleHandle(h) (((long) (h) & 3) == 3)
+#define IsConsoleHandle(h) (((long) (
intptr_t) (
h) & 3) == 3)
static BOOL
IsSocketHandle (HANDLE h)