diff --git a/ghc/compiler/main/Constants.lhs b/ghc/compiler/main/Constants.lhs
index d5d641f0bc0a1c10ceb5140150806cfaf45fe247..fa4cdbc4ecc5e7f0fab4427928b3272ee745d45a 100644
--- a/ghc/compiler/main/Constants.lhs
+++ b/ghc/compiler/main/Constants.lhs
@@ -87,8 +87,8 @@ module Constants (
 All pretty arbitrary:
 
 \begin{code}
-mAX_TUPLE_SIZE = 37
-mAX_CONTEXT_REDUCTION_DEPTH = 20
+mAX_TUPLE_SIZE = (37 :: Int)
+mAX_CONTEXT_REDUCTION_DEPTH = (20 :: Int)
 \end{code}
 
 \begin{code}