diff --git a/bindings-fluidsynth.cabal b/bindings-fluidsynth.cabal
--- a/bindings-fluidsynth.cabal
+++ b/bindings-fluidsynth.cabal
@@ -1,5 +1,5 @@
 name:                bindings-fluidsynth
-version:             0.1.1
+version:             0.2.1
 synopsis:            Haskell FFI bindings for fluidsynth software synthesizer
 description:         Haskell FFI bindings for fluidsynth software synthesizer
 homepage:            http://github.com/bgamari/bindings-fluidsynth
@@ -18,7 +18,7 @@
 
 library
   exposed-modules:     Bindings.FluidSynth
-  build-depends:       base >=4.8 && <4.9,
+  build-depends:       base >=4.8 && <4.10,
                        bindings-DSL >= 1.0.16 && < 1.1  
   hs-source-dirs:      src
   build-tools:         hsc2hs
diff --git a/src/Bindings/FluidSynth.hsc b/src/Bindings/FluidSynth.hsc
--- a/src/Bindings/FluidSynth.hsc
+++ b/src/Bindings/FluidSynth.hsc
@@ -37,7 +37,7 @@
 #num FLUID_WARN
 #num FLUID_DBG
 type FluidLogFn = CInt -> CString -> Ptr () -> IO ()
-#ccall fluid_set_log_function , CInt -> Ptr FluidLogFn -> Ptr () -> IO (Ptr FluidLogFn)
+#ccall fluid_set_log_function , CInt -> FunPtr FluidLogFn -> Ptr () -> IO (FunPtr FluidLogFn)
 #ccall fluid_default_log_function , FluidLogFn
 
 -- * Error codes
