From: Sterling Hughes Date: Thu, 30 Mar 2000 00:19:24 +0000 (+0000) Subject: fix bug 3971, SNMP now compiles on FreeBSD. X-Git-Tag: php-4.0RC2~581 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76a32c0ce89e3a32fb4d60bfe4de0ed5b05565b6;p=php fix bug 3971, SNMP now compiles on FreeBSD. --- diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 140bc7be71..4368819810 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -363,8 +363,7 @@ PHP_FUNCTION(snmp_set_quick_print) { WRONG_PARAM_COUNT; } convert_to_long_ex(a1); - int set_val = (*a1)->value.lval; - snmp_set_quick_print(set_val); + snmp_set_quick_print((int)(*a1)->value.lval); } /* }}} */