Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42671 invoked from network); 10 Jun 2011 15:01:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2011 15:01:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=landeholm@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=landeholm@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: landeholm@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:52531] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/2B-54720-2E132FD4 for ; Fri, 10 Jun 2011 11:01:55 -0400 Received: by iwn3 with SMTP id 3so2729026iwn.29 for ; Fri, 10 Jun 2011 08:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=vH2TpUYknuF09GHzOJK5nFBU2jljgXdJdaX8TMgD2FI=; b=e79TmtaJ1Qmpn0MhoXRf+j6Adv9YeLVp5fA18tnOwo7iWhxNP4/NvKGWKa564aOkdW beS+INIvEpXJKPnMRSH8oGdm6zSR5qmu/ib4QKk+D8zfjhkq3BZgaS++ogZkIY/kWpyD +WYglBXovumc98T7NFFJXSnej5EEXNQtweslU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ed82KKvmDW2/pn5OCt5/JAD0kxgT/Gkav+vmZyC9MRktekTUTHOIP/wiBV6ugnaGgn PvgQIu56G3n/nq9SKcaQRuCtqdXOt8IKclTKtF48RcGiKAW1Aor70AgvgE1SXr3N0IAj V5bKj3V3FdvaLmLd/mwuztc6MQrMriNMvj6NI= MIME-Version: 1.0 Received: by 10.42.28.3 with SMTP id l3mr2791512icc.256.1307718111634; Fri, 10 Jun 2011 08:01:51 -0700 (PDT) Received: by 10.231.33.66 with HTTP; Fri, 10 Jun 2011 08:01:51 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jun 2011 17:01:51 +0200 Message-ID: To: Pierre Joye , internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf301d426e82a4a604a55cd9d5 Subject: Re: [PHP-DEV] 32 bit / 64 bit integer confusion From: landeholm@gmail.com (Hannes Landeholm) --20cf301d426e82a4a604a55cd9d5 Content-Type: text/plain; charset=ISO-8859-1 On 10 June 2011 16:54, Pierre Joye wrote: > The sad part is not that windows uses a consistent type size across > architecture but that linux and gcc considers that a type could be > whatever the architecture uses. Hence why stdint.h was introduced and > should be used instead of the long/int. > Find/replace "int" -> "int64_t". Problem solved. ;) ~Hannes --20cf301d426e82a4a604a55cd9d5--