diff options
author | foobar <sniper@php.net> | 2005-04-15 22:06:03 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-04-15 22:06:03 +0000 |
commit | 82819f3061d538dc8c4af80c1ae134e7c0559c07 (patch) | |
tree | 4e74fe008f26bfeb02920fc669b42e7af6481b51 /ext/snmp | |
parent | 5b21e48557a2dcd1d631af099a8d4f0c3a47c6ea (diff) | |
download | php-git-82819f3061d538dc8c4af80c1ae134e7c0559c07.tar.gz |
- Use correct type (bug #32720)
Diffstat (limited to 'ext/snmp')
-rw-r--r-- | ext/snmp/snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index da2bd2e38f..d3505b5177 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -351,9 +351,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]; |