From 757cc7b8077ff93bd6f336fc79af43f6194f4670 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Tue, 2 Jul 2013 13:16:25 +0000 Subject: [PATCH] compile warning - fix --- gnupg_keylistiterator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnupg_keylistiterator.c b/gnupg_keylistiterator.c index a510ed1..62ca02e 100644 --- a/gnupg_keylistiterator.c +++ b/gnupg_keylistiterator.c @@ -164,7 +164,7 @@ PHP_METHOD(gnupg_keylistiterator,rewind){ GNUPG_GET_ITERATOR(); 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){ RETURN_FALSE;