Re: Results
| From: | Shane Caraveo | Date: | Sun, 04 Oct 1998 19:36:26 +0000 |
| Subject: | Re: Results | ||
| References: | 1 | Groups: | php.beta |
| Request: | Send a blank email to php-beta+get-42@lists.php.net to get a copy of this message | ||
Egon Schmid wrote:
>
> Can this also be fixed in 3.0.5 (I think this was introduced this
> morning):
>
> functions/mysql.c: In function `php3_mysql_result':
> functions/mysql.c:1222: warning: assignment from incompatible pointer type
> functions/mysql.c: In function `php3_mysql_fetch_row':
> functions/mysql.c:1367: warning: assignment from incompatible pointer type
> functions/mysql.c: In function `php3_mysql_fetch_hash':
> functions/mysql.c:1419: warning: assignment from incompatible pointer type
> functions/mysql.c: In function `php3_mysql_fetch_lengths':
> functions/mysql.c:1515: warning: assignment from incompatible pointer type
>
> -Egon
Ok, first, msvc6 doesnt give me any warnings on this stuff irregardless,
so, try this in those functions that give you warngings:
#if MYSQL_VERSION_ID > 32199
unsigned long *sql_row_lengths;
#else
unsigned int *sql_row_lengths;
#endif
(or it might just be a long *)
Shane