diff --git a/Graphics/X11/Xim.hsc b/Graphics/X11/Xim.hsc
--- a/Graphics/X11/Xim.hsc
+++ b/Graphics/X11/Xim.hsc
@@ -33,7 +33,7 @@
 import Graphics.X11.Xlib.Extras	( FontSet(..) )
 import Graphics.X11.Xlib.Types	( Display(..), GC(..) )
 import Foreign		( Int32, nullPtr, Ptr, Word8, alloca, peek, Int64,
-				Word64,
+				Word32, Word64,
 				allocaBytes, throwIfNull, withArray0 )
 import Foreign.C.Types	( CInt(..), CChar )
 import Foreign.C.String	( CString, peekCStringLen, withCString )
diff --git a/x11-xim.cabal b/x11-xim.cabal
--- a/x11-xim.cabal
+++ b/x11-xim.cabal
@@ -2,7 +2,7 @@
 cabal-version:	>= 1.6
 
 name:		x11-xim
-version:	0.0.7
+version:	0.0.8
 author:		Yoshikuni Jujo
 maintainer:	Yoshikuni Jujo <PAF01143@nifty.ne.jp>
 license:	BSD3
@@ -20,7 +20,7 @@
 source-repository	this
   type:		git
   location:	git://github.com/YoshikuniJujo/x11-xim_haskell/
-  tag:		0.0.7
+  tag:		0.0.8
 	
 library
   exposed-modules:	Graphics.X11.Xim
