Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
1d47f08d
Commit
1d47f08d
authored
May 29, 2008
by
Simon Marlow
Browse files
FIX BUILD with GHC 6.4.x
parent
c148796d
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/utils/Fingerprint.hsc
View file @
1d47f08d
...
...
@@ -35,7 +35,10 @@ fingerprint0 :: Fingerprint
fingerprint0 = Fingerprint 0 0
instance Outputable Fingerprint where
ppr (Fingerprint w1 w2) = text (printf "%016x%016x" w1 w2)
ppr (Fingerprint w1 w2) = text (printf "%016x%016x" i1 i2)
where i1 = fromIntegral w1 :: Integer
i2 = fromIntegral w2 :: Integer
-- printf in GHC 6.4.2 didn't have Word64 instances
-- useful for parsing the output of 'md5sum', should we want to do that.
readHexFingerprint :: String -> Fingerprint
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment