summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/base/GHC/Event/KQueue.hsc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/GHC/Event/KQueue.hsc b/libraries/base/GHC/Event/KQueue.hsc
index d6461c2647..0d5350e870 100644
--- a/libraries/base/GHC/Event/KQueue.hsc
+++ b/libraries/base/GHC/Event/KQueue.hsc
@@ -186,10 +186,10 @@ newtype Flag = Flag Word16
, flagOneshot = EV_ONESHOT
}
-#if SIZEOF_KEV_FILTER == 4 /*kevent.filter: uint32_t or uint16_t. */
-newtype Filter = Filter Word32
+#if SIZEOF_KEV_FILTER == 4 /*kevent.filter: int32_t or int16_t. */
+newtype Filter = Filter Int32
#else
-newtype Filter = Filter Word16
+newtype Filter = Filter Int16
#endif
deriving (Bits, FiniteBits, Eq, Num, Show, Storable)