Re: error in interbase.c
| From: | Ard Biesheuvel | Date: | Thu, 11 Sep 2003 08:51:40 +0000 |
| Subject: | Re: error in interbase.c | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4445@lists.php.net to get a copy of this message | ||
line 328 is.. qd->gds_quad_low = (unsigned ISC_LONG) (res & 0xFFFFFFFF); */ removing the unsigned fixes it for me qd->gds_quad_low = (ISC_LONG) (res & 0xFFFFFFFF);Thanks for the report. It was only changed recently because IB < 6 doesn't define ISC_ULONG. Apparently, FB defines ISC_LONG as 'signed long' which doesn't make sense if you prepend 'unsigned'. As it only matter for size, ISC_LONG is just as good. Changed back in CVS -- Ard