diff --git a/NetSNMP.cabal b/NetSNMP.cabal
--- a/NetSNMP.cabal
+++ b/NetSNMP.cabal
@@ -1,6 +1,6 @@
 
 Name:               NetSNMP
-Version:            0.1.1
+Version:            0.1.2
 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
@@ -175,7 +175,7 @@
 
 
 -- |ASN.1 constants from snmp_impl.h and asn1.h
-#{enum CInt ,
+#{enum CUChar ,
   , asn_boolean      = ASN_BOOLEAN
   , asn_integer      = ASN_INTEGER
   , asn_bit_str      = ASN_BIT_STR
@@ -561,7 +561,7 @@
 peekVariableNext :: Ptr CVarList -> Trouble (Ptr CVarList)
 peekVariableNext rv = hoistT $ #{peek struct variable_list , next_variable} rv
 
-peekVariableType :: Ptr CVarList -> Trouble CInt
+peekVariableType :: Ptr CVarList -> Trouble CUChar
 peekVariableType rv = hoistT $ #{peek struct variable_list , type} rv
 
 peekVariableValBits :: Ptr CVarList -> Trouble (Ptr CUChar)
