projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cd1a07
)
[project @ 1999-08-04 10:29:25 by simonmar]
author
simonmar
<unknown>
Wed, 4 Aug 1999 10:29:25 +0000
(10:29 +0000)
committer
simonmar
<unknown>
Wed, 4 Aug 1999 10:29:25 +0000
(10:29 +0000)
Cast NULL to (W_) to avoid warning.
ghc/lib/std/PrelAddr.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/PrelAddr.lhs
b/ghc/lib/std/PrelAddr.lhs
index
c0b5939
..
80740d3
100644
(file)
--- a/
ghc/lib/std/PrelAddr.lhs
+++ b/
ghc/lib/std/PrelAddr.lhs
@@
-34,7
+34,7
@@
instance Show Addr where
showsPrec p (A# a) = showsPrec p (I# (addr2Int# a))
nullAddr :: Addr
-nullAddr = ``NULL''
+nullAddr = ``(W_)NULL''
plusAddr :: Addr -> Int -> Addr
plusAddr (A# addr) (I# off) = A# (int2Addr# (addr2Int# addr +# off))