summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-15 22:08:43 +0000
committerfoobar <sniper@php.net>2005-04-15 22:08:43 +0000
commit626d78118dbf3ff389d70f37f8a3fe3f57089ade (patch)
tree9fd45ecf160c8c0c9c023f9087713e19c8a3ae9e
parenta9c24d972832f0c5717ffe75835dcecf2a8b7501 (diff)
downloadphp-git-626d78118dbf3ff389d70f37f8a3fe3f57089ade.tar.gz
MFH: - Use correct type (bug #32720)
-rw-r--r--ext/snmp/snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 587a8cb087..2957a82a1a 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -347,9 +347,9 @@ static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS,
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];