PHP 4.0 Bug #2223: ext/standard/post.c

From: Date: Thu, 02 Sep 1999 18:14:01 +0000
Subject: PHP 4.0 Bug #2223: ext/standard/post.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-10462@lists.php.net to get a copy of this message
From: tm@blom.co.id Operating system: HPUX 10.20 PHP version: 4.0 Beta 2 PHP Bug Type: Compile Failure Bug description: ext/standard/post.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/store/store/bise04/apache/src-1.3.9-hp700ux10//src/include -I/store/store/bise04/apache/src-1.3.9-hp700ux10//src/os/unix -I../.. -I../../libzend -Ae -Ae -D_HPUX_SOURCE -g -c post.c cc: "post.c", line 230: error 1649: Illegal integer-pointer combination for >. cc: "post.c", line 230: error 1563: Expression in if must be scalar. *** Error exit code 1 Stop. ----------------------------------- Problem area being: if ((*arr_ptr)->type!=IS_ARRAY) { if (--(*arr_ptr) > 0) { *arr_ptr = (pval *) emalloc(sizeof(pval) ) It's the "if (--(*arr_ptr) > 0) {" that is failing. Made a cast to an int and it compiles. Might be the wrong sollution, don't know. Had a long day swearing at NT so I'm to lazy to check the code properly. Terje Marthinussen tm@blom.co.id

« previous php.dev (#10462) next »