Re: 32 bit / 64 bit integer confusion
| From: | Hannes Landeholm | Date: | Fri, 10 Jun 2011 15:01:51 +0000 |
| Subject: | Re: 32 bit / 64 bit integer confusion | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53245@lists.php.net to get a copy of this message | ||
On 10 June 2011 16:54, Pierre Joye <pierre.php@gmail.com> 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