unread
Hi Zeev,
Casting offset to long should be enough.
- Frank
C:\Projects\php5\Zend\zend_alloc.c(231) : warning C4018: '<' :
signed/unsigned mismatchIt appears that VC doesn't like the comparison:
lval < LONG_MAX - offsetbecause offset is unsigned, it turns LONG_MAX-offset to unsigned as well,
and ends up comparing an signed with unsigned. Maybe we should explicitly
cast LONG_MAX-offset to long?Zeev