From d747fcb897102a1432fa9338783d5c92b8495cb9 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 25 Jan 2017 10:37:34 +0000 Subject: [PATCH] bugfix in the Haskell binding --- src/runtime/haskell-bind/PGF2.hsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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