diff --git a/Graphics/X11/Xim.hsc b/Graphics/X11/Xim.hsc
--- a/Graphics/X11/Xim.hsc
+++ b/Graphics/X11/Xim.hsc
@@ -75,7 +75,7 @@
 foreign import ccall "X11/Xlib.h XGetICValues"	c_XGetICValues1	::
 	Ptr XIC -> CString -> Ptr #{ type unsigned long }
                 -> Ptr () -> IO CString
-getICValue :: XIC -> String -> IO Word32
+getICValue :: XIC -> String -> IO #{ type unsigned long }
 getICValue ( XIC pic ) fn = withCString fn $ \cfn ->
 	alloca $ \p -> do
 		r <- c_XGetICValues1 pic cfn p nullPtr
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.2
 
 name:		x11-xim
-version:	0.0.3
+version:	0.0.4
 author:		Yoshikuni Jujo
 maintainer:	Yoshikuni Jujo <PAF01143@nifty.ne.jp>
 license:	BSD3
