1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00

- MFH: Revert Joe's work around a bug in GCC patch as it breaks too many things.

This commit is contained in:
Derick Rethans
2004-11-29 09:32:15 +00:00
parent 463204f9b3
commit ebca90f075
+1 -9
View File
@@ -184,15 +184,7 @@ ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC)
}
#define DVAL_TO_LVAL(d, l) do { \
if ((d) >= LONG_MAX) { \
l = LONG_MAX; \
} else if ((d) < LONG_MIN) { \
l = LONG_MIN; \
} else { \
l = (d); \
} \
} while (0)
#define DVAL_TO_LVAL(d, l) (l) = (d) > LONG_MAX ? (unsigned long) (d) : (long) (d)
#define zendi_convert_to_long(op, holder, result) \
if (op == result || op->refcount == 0) { \