diff --git a/NetSNMP.cabal b/NetSNMP.cabal
--- a/NetSNMP.cabal
+++ b/NetSNMP.cabal
@@ -1,6 +1,6 @@
 
 Name:               NetSNMP
-Version:            0.3.0.2
+Version:            0.3.0.3
 Synopsis:           Bindings for net-snmp's C API for clients
 Description:        Network.Protocol.NetSNMP is a partial binding to the
                     library portion of the net-snmp package.  It uses the
@@ -22,7 +22,7 @@
 
 library
   hs-source-dirs:   src
-  build-depends:    base >=4 && <5
+  build-depends:    base >=4.5 && <5
                    ,bytestring >= 0.10 && < 0.11
   build-tools:      hsc2hs
   exposed-modules:  Network.Protocol.NetSNMP
diff --git a/src/Network/Protocol/NetSNMP.hsc b/src/Network/Protocol/NetSNMP.hsc
--- a/src/Network/Protocol/NetSNMP.hsc
+++ b/src/Network/Protocol/NetSNMP.hsc
@@ -70,7 +70,7 @@
 #ifdef EIGHTBIT_SUBIDS
 type OIDpart = CUChar                      -- C typedef oid
 #else
-type OIDpart = CULong
+type OIDpart = CUInt
 #endif
 
 type RawOID = [OIDpart]
