Fix printf
This commit is contained in:
parent
618ded6afd
commit
4efde46770
|
@ -198,7 +198,7 @@ genLiteralRepr (A.ArrayLiteral m es)
|
|||
tell ["}"]
|
||||
|
||||
hexToOct :: String -> String
|
||||
hexToOct h = printf "%03o" (fst $ head $ readHex h)
|
||||
hexToOct h = printf "%03o" ((fst $ head $ readHex h) :: Int)
|
||||
|
||||
convStringLiteral :: String -> String
|
||||
convStringLiteral [] = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user