On Fri, Jun 10, 2011 at 7:08 PM, John Crenshaw <johncrens...@priacta.com> wrote:
>
>> ITYM PHP uses "long" which unfortunately isn't long on windows.
>>
>> --
>> Stanislav Malyshev, Software Architect
>> SugarCRM: http://www.sugarcrm.com/
>> (408)454-6900 ext. 227
>
> This is not exactly correct. I think what you meant to say, is "long isn't 
> the same size as a pointer on Windows".


One should never ever use long to store an address (pointer), just
like one should never use int or long to store the length of a buffer
(size_t).

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to