From dae37661d9714ab07aa491ebde0258c25467ccc7 Mon Sep 17 00:00:00 2001 From: Andrea Faulds Date: Mon, 9 Nov 2015 11:15:58 +0000 Subject: [PATCH] Use ZEND_STRL macro for builtin_types --- Zend/zend_compile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c3e9384556..7044b6b945 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -190,10 +190,10 @@ typedef struct _builtin_type_info { } builtin_type_info; static const builtin_type_info builtin_types[] = { - {"int", sizeof("int") - 1, IS_LONG}, - {"float", sizeof("float") - 1, IS_DOUBLE}, - {"string", sizeof("string") - 1, IS_STRING}, - {"bool", sizeof("bool") - 1, _IS_BOOL}, + {ZEND_STRL("int"), IS_LONG}, + {ZEND_STRL("float"), IS_DOUBLE}, + {ZEND_STRL("string"), IS_STRING}, + {ZEND_STRL("bool"), _IS_BOOL}, {NULL, 0, IS_UNDEF} }; -- 2.50.1