Re: [PHP4BETA] cvs: /php4/ext/snmp snmp.c
| From: | Sascha Schumann | Date: | Thu, 30 Mar 2000 00:39:54 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/snmp snmp.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12852@lists.php.net to get a copy of this message | ||
> @@ -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);
A note for future code changes:
Please stick to ANSI C. Otherwise, not only FreeBSD will be concerned.
- Sascha