summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2/Internal.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/haskell-bind/PGF2/Internal.hsc')
-rw-r--r--src/runtime/haskell-bind/PGF2/Internal.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell-bind/PGF2/Internal.hsc b/src/runtime/haskell-bind/PGF2/Internal.hsc
index bd64c358e..f9b4c5331 100644
--- a/src/runtime/haskell-bind/PGF2/Internal.hsc
+++ b/src/runtime/haskell-bind/PGF2/Internal.hsc
@@ -376,7 +376,7 @@ dTyp hypos cat es =
return (B (Type ptr touch))
where
(Builder pool touch) = ?builder
- n_exprs = fromIntegral (length es) :: CInt
+ n_exprs = fromIntegral (length es) :: CSizeT
pokeHypos ptr [] = return ()
pokeHypos ptr ((bind_type,var,B (Type ty _)):hypos) = do