mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
compile warning - fix
This commit is contained in:
parent
e15f94764b
commit
757cc7b807
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ PHP_METHOD(gnupg_keylistiterator,rewind){
|
||||||
GNUPG_GET_ITERATOR();
|
GNUPG_GET_ITERATOR();
|
||||||
|
|
||||||
if((intern->err = gpgme_op_keylist_start(intern->ctx, Z_STRVAL(intern->pattern), 0)) != GPG_ERR_NO_ERROR){
|
if((intern->err = gpgme_op_keylist_start(intern->ctx, Z_STRVAL(intern->pattern), 0)) != GPG_ERR_NO_ERROR){
|
||||||
zend_throw_exception(zend_exception_get_default(TSRMLS_C),gpg_strerror(intern->err),1 TSRMLS_CC);
|
zend_throw_exception(zend_exception_get_default(TSRMLS_C),(char *)gpg_strerror(intern->err),1 TSRMLS_CC);
|
||||||
}
|
}
|
||||||
if((intern->err = gpgme_op_keylist_next(intern->ctx, &intern->gpgkey))!=GPG_ERR_NO_ERROR){
|
if((intern->err = gpgme_op_keylist_next(intern->ctx, &intern->gpgkey))!=GPG_ERR_NO_ERROR){
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
|
|
Loading…
Reference in a new issue