summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-01-25 10:37:34 +0000
committerkrasimir <krasimir@chalmers.se>2017-01-25 10:37:34 +0000
commit8d3464dfb02ac1be6f99f5310e959de5fc28a7f0 (patch)
treed95460bb12ecef4c09e2e034cd8e67936428b371
parent3c363182461c2b745276da9d4bd9ffbd4cd742c5 (diff)
bugfix in the Haskell binding
-rw-r--r--src/runtime/haskell-bind/PGF2.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell-bind/PGF2.hsc b/src/runtime/haskell-bind/PGF2.hsc
index e7b13fbc1..65de76ddf 100644
--- a/src/runtime/haskell-bind/PGF2.hsc
+++ b/src/runtime/haskell-bind/PGF2.hsc
@@ -171,7 +171,7 @@ functionType p fn =
return ((bt,cid,ty) : hs)
| otherwise = return []
- toBindType :: Int -> BindType
+ toBindType :: CInt -> BindType
toBindType (#const PGF_BIND_TYPE_EXPLICIT) = Explicit
toBindType (#const PGF_BIND_TYPE_IMPLICIT) = Implicit