summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-02 16:44:12 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-02 16:44:12 +0100
commite591cc757599b20749b51c7428321dee9f0c3e3a (patch)
tree8467acff843f1a8c10e307b9982669a7bab40eb4
parent8c00c919e38ea9189745fb49da13df06077df21b (diff)
parentb20362c24b673baf4143410e25181d05f4b940d2 (diff)
downloadphp-git-e591cc757599b20749b51c7428321dee9f0c3e3a.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: Remove unnecessary cast in snmp_set_oid_output_format
-rw-r--r--ext/snmp/snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 44452369c9..0f5142b28e 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -1358,7 +1358,7 @@ PHP_FUNCTION(snmp_set_oid_output_format)
RETURN_THROWS();
}
- switch((int) a1) {
+ switch (a1) {
case NETSNMP_OID_OUTPUT_SUFFIX:
case NETSNMP_OID_OUTPUT_MODULE:
case NETSNMP_OID_OUTPUT_FULL: