From e6fb918933daa512bcc896838a8bcef41bc746e1 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Fri, 5 Feb 2016 17:50:42 +0000 Subject: [PATCH] Use PHPC_VAL_IS_TRUE in php_fann_callback --- fann.c | 2 +- phpc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fann.c b/fann.c index f1cd4d7..149a2d3 100644 --- a/fann.c +++ b/fann.c @@ -1455,7 +1455,7 @@ static int php_fann_callback(struct fann *ann, struct fann_train_data *train, return -1; } convert_to_boolean(PHPC_VAL_CAST_TO_PZVAL(retval)); - rc = PHPC_ZVAL_IS_TRUE(retval); + rc = PHPC_VAL_IS_TRUE(retval); zval_ptr_dtor(&retval); zval_ptr_dtor(&PHPC_FCALL_PARAM_VAL(callback, 0)); if (!user_data->z_train_data) diff --git a/phpc b/phpc index 3cc3010..eb37b81 160000 --- a/phpc +++ b/phpc @@ -1 +1 @@ -Subproject commit 3cc301066f9c0910fefb497d829d09da86f0a591 +Subproject commit eb37b811015f39f8b3bd295b24cf4988f2584f5e