cvs: /php4/ext/snmp snmp.c
| From: | Sterling Hughes | Date: | Thu, 30 Mar 2000 00:19:55 +0000 |
| Subject: | cvs: /php4/ext/snmp snmp.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12851@lists.php.net to get a copy of this message | ||
sterling Wed Mar 29 16:19:55 2000 EDT
Modified files:
/php4/ext/snmp snmp.c
Log:
fix bug 3971, SNMP now compiles on FreeBSD.
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.26 php4/ext/snmp/snmp.c:1.27
--- php4/ext/snmp/snmp.c:1.26 Sun Mar 26 06:43:24 2000
+++ php4/ext/snmp/snmp.c Wed Mar 29 16:19:24 2000
@@ -17,7 +17,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.26 2000/03/26 14:43:24 sterling Exp $ */
+/* $Id: snmp.c,v 1.27 2000/03/30 00:19:24 sterling Exp $ */
#include "php.h"
#if defined(COMPILE_DL)
@@ -363,8 +363,7 @@
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);
}
/* }}} */