--- embedaddon/php/Zend/zend_alloc.c 2013/07/22 01:32:15 1.1.1.3 +++ embedaddon/php/Zend/zend_alloc.c 2013/10/14 08:02:46 1.1.1.4 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_alloc.c,v 1.1.1.3 2013/07/22 01:32:15 misho Exp $ */ +/* $Id: zend_alloc.c,v 1.1.1.4 2013/10/14 08:02:46 misho Exp $ */ #include "zend.h" #include "zend_alloc.h" @@ -2461,7 +2461,7 @@ static inline size_t safe_address(size_t nmemb, size_t size_t res = nmemb; unsigned long overflow = 0; - __asm__ ("mull %3\n\taddl %4,%0\n\tadcl %1,%1" + __asm__ ("mull %3\n\taddl %4,%0\n\tadcl $0,%1" : "=&a"(res), "=&d" (overflow) : "%0"(res), "rm"(size), @@ -2489,7 +2489,7 @@ static inline size_t safe_address(size_t nmemb, size_t __asm__ ("mul" LP_SUFF " %3\n\t" "add %4,%0\n\t" - "adc %1,%1" + "adc $0,%1" : "=&a"(res), "=&d" (overflow) : "%0"(res), "rm"(size),