From: foobar Date: Fri, 15 Apr 2005 22:07:05 +0000 (+0000) Subject: MFH: - Use correct type (bug #32720) X-Git-Tag: php-5.0.5RC1~430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f043328df173337cf0b3e5054be7bb7cf246458;p=php MFH: - Use correct type (bug #32720) --- diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 44268f266c..e9e57e3135 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -352,9 +352,9 @@ static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS, int st, struct snmp_pdu *pdu=NULL, *response; struct variable_list *vars; oid name[MAX_NAME_LEN]; - int name_length; + size_t name_length; oid root[MAX_NAME_LEN]; - int rootlen = 0; + size_t rootlen = 0; int gotroot = 0; int status, count; char buf[2048];