diff --git a/NetSNMP.cabal b/NetSNMP.cabal
--- a/NetSNMP.cabal
+++ b/NetSNMP.cabal
@@ -1,6 +1,6 @@
 
 Name:               NetSNMP
-Version:            0.3.0.4
+Version:            0.3.0.5
 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
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
@@ -67,12 +67,7 @@
   sizeOf    _ = #size struct snmp_pdu
   alignment _ = 16
 
-#ifdef EIGHTBIT_SUBIDS
-type OIDpart = CUChar                      -- C typedef oid
-#else
-type OIDpart = CUInt
-#endif
-
+type OIDpart = #{type oid}
 type RawOID = [OIDpart]
 
 showOid :: RawOID -> String
