Re: Re: php4 /ext/standard file.c formatted_print.c
| From: | Sascha Schumann | Date: | Sat, 11 Jan 2003 22:59:49 +0000 |
| Subject: | Re: Re: php4 /ext/standard file.c formatted_print.c | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93352@lists.php.net to get a copy of this message | ||
On Sat, 11 Jan 2003, Ilia A. wrote:
> On January 11, 2003 06:03 pm, Moriyoshi Koizumi wrote:
> > On Sat, Jan 11, 2003 at 11:38:20PM +0100, nicos@php.net wrote:
> > > Sorry but just a thought, in that line:
> > >
> > > if (argc > 1 && (int)Z_STRLEN_P(return_value) < len / 2) {
>
> Does this mean we now always need to cast the result of the
> Z_STRLEN_P/Z_STRLEN_PP macros to int? That seems pretty annoying and not to
> producing ugly code.
Certainly not.
What kind of warnings was the compiler (which one?) issuing?
- Sascha