X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.c;h=584a75c4c137492eff307429a0770edc562217cb;hp=9d9b9412cf8ad31bd54251e10c9b969bb324b454;hb=5dca59e3a269c903b395d97abe831c0fc138b5b6;hpb=c04184b2188a60efed4753d7eef7f3952aed9cef diff --git a/missing.c b/missing.c index 9d9b941..584a75c 100644 --- a/missing.c +++ b/missing.c @@ -43,7 +43,8 @@ int zend_declare_property_bool(zend_class_entry *ce, char *name, int name_length } void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC) -{ zval *tmp = ecalloc(1, sizeof(zval)); +{ + zval *tmp = ecalloc(1, sizeof(zval)); ZVAL_BOOL(tmp, value); zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); }