Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4445 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79071 invoked by uid 1010); 11 Sep 2003 08:51:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79037 invoked by uid 1007); 11 Sep 2003 08:51:00 -0000 To: internals@lists.php.net, Kevin Waterson Message-ID: <3F60379C.2090802@php.net> Date: Thu, 11 Sep 2003 10:51:40 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20030911113810.18a46b67.kevin@oceania.net> In-Reply-To: <20030911113810.18a46b67.kevin@oceania.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.126.21.70 Subject: Re: error in interbase.c From: abies@php.net (Ard Biesheuvel) > 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