Skip to content

Commit e6fb918

Browse files
committed
Use PHPC_VAL_IS_TRUE in php_fann_callback
1 parent 6ea9a54 commit e6fb918

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fann.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ static int php_fann_callback(struct fann *ann, struct fann_train_data *train,
14551455
return -1;
14561456
}
14571457
convert_to_boolean(PHPC_VAL_CAST_TO_PZVAL(retval));
1458-
rc = PHPC_ZVAL_IS_TRUE(retval);
1458+
rc = PHPC_VAL_IS_TRUE(retval);
14591459
zval_ptr_dtor(&retval);
14601460
zval_ptr_dtor(&PHPC_FCALL_PARAM_VAL(callback, 0));
14611461
if (!user_data->z_train_data)

phpc

Submodule phpc updated 1 file

0 commit comments

Comments
 (0)