summaryrefslogtreecommitdiff
path: root/devel/hs-tclhaskell-ghc/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-tclhaskell-ghc/files')
-rw-r--r--devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs b/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs
new file mode 100644
index 000000000000..bc183fc496a2
--- /dev/null
+++ b/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs
@@ -0,0 +1,11 @@
+--- TclPrimGhc.hs.orig Tue Oct 21 17:29:21 2003
++++ TclPrimGhc.hs Tue Oct 21 17:29:43 2003
+@@ -42,7 +42,7 @@
+ writeElt pstr 0 str
+ return pstr
+ where
+- len = Word.intToWord32 (length str + 1)
++ len = fromIntegral (length str + 1)
+
+ writeElt addr n [] = writeCharOffAddr addr n '\0'
+ writeElt addr n (v :vs) = do