Files
simplex-chat/scripts/nix/basement-windows-intptr.patch
T

10 lines
326 B
Diff

diff --git a/Basement/Terminal/Size.hsc b/Basement/Terminal/Size.hsc
--- a/Basement/Terminal/Size.hsc
+++ b/Basement/Terminal/Size.hsc
@@ -123,4 +123,4 @@
invalidHandleValue :: IntPtr
-invalidHandleValue = #{const INVALID_HANDLE_VALUE}
+invalidHandleValue = #{const (INT_PTR)INVALID_HANDLE_VALUE}
stdOutputHandle :: CULong