1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs
Oliver Braun dd543abdeb Fix patch: DOS-CR/LF got lost in previous PR.
PR:		ports/58412
Submitted by:	maintainer
Prompted by:	kris via bento
2003-10-23 07:14:31 +00:00

12 lines
335 B
Haskell

--- TclPrimGhc.hs.orig Fri Feb 23 13:23:23 2001
+++ TclPrimGhc.hs Thu Oct 23 09:11:54 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