Skip to content

Commit

Permalink
Use PHPC_VAL_IS_TRUE in php_fann_callback
Browse files Browse the repository at this point in the history
  • Loading branch information
bukka committed Feb 5, 2016
1 parent 6ea9a54 commit e6fb918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fann.c
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion phpc
Submodule phpc updated 1 files
+4 −0 phpc.h

0 comments on commit e6fb918

Please sign in to comment.