Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7119 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41476 invoked by uid 1010); 15 Jan 2004 00:48:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41452 invoked from network); 15 Jan 2004 00:48:23 -0000 Received: from unknown (HELO hanna.linnea.net) (193.45.225.41) by pb1.pair.com with SMTP; 15 Jan 2004 00:48:23 -0000 Received: (qmail 20178 invoked from network); 15 Jan 2004 00:48:20 -0000 Received: from rl141.kiruna.se (HELO novell.netiic.com) (193.45.238.241) by ns2.kiruna.se with SMTP; 15 Jan 2004 00:48:20 -0000 To: internals@lists.php.net Date: Thu, 15 Jan 2004 01:48:07 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200401150148.13123.magnus@php.net> Subject: 64 bit compilation warnings (int/unsigned long mismatch) PHP_4_3 From: magnus@php.net (Magnus =?iso-8859-15?q?M=E4=E4tt=E4?=) Hello! I just fixed my alpha (running Tru64 UNIX 5.1) so I could compile PHP on it again and checked for ptrmismatch'es in PHP_4_3 and found these.. Maybe they are safe to ignore or maybe not. Configure line: ./configure --disable-all I'll check HEAD too in a few and report my findings for it too.. cc: Warning: /data/cvs/php/php-src/ext/standard/file.c, line 2316: In this statement, the referenced type of the pointer value "(&buf_len)" is "int", which is not compatible with "unsigned long". (ptrmismatch) if (php_stream_get_line(stream, buf, len, &buf_len) == NULL) { -------------^ cc: Warning: /data/cvs/php/php-src/ext/standard/file.c, line 2256: In this statement, the referenced type of the pointer value "(&buf_len)" is "int", which is not compatible with "unsigned long". (ptrmismatch) if (php_stream_get_line(stream, buf, len, &buf_len) == NULL) { ---------^ /Magnus -- The first thing we do, let's kill all the lawyers. -- Wm. Shakespeare, "Henry VI", Part IV