X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.c;h=584a75c4c137492eff307429a0770edc562217cb;hp=9d9b9412cf8ad31bd54251e10c9b969bb324b454;hb=39feb7a7e30bb4b393a6f76aa2f35d4e9275523e;hpb=bb1f32fd5d06b9b9ace6517c177b0fe58c9ff57c 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); }