[libvirt] [libvirt-php PATCH 15/35] fix zpp

Neal Gompa ngompa13 at gmail.com
Fri Apr 8 22:08:24 UTC 2016


From: Remi Collet <fedora at famillecollet.com>

---
 src/libvirt-php.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libvirt-php.c b/src/libvirt-php.c
index 1959074..f4f9c5f 100644
--- a/src/libvirt-php.c
+++ b/src/libvirt-php.c
@@ -2088,7 +2088,7 @@ PHP_FUNCTION(libvirt_connect)
 
     char *url=NULL;
     strsize_t url_len=0;
-    int readonly=1;
+    zend_bool readonly=1;
 
     HashTable *arr_hash;
     HashPosition pointer;
@@ -7849,7 +7849,7 @@ PHP_FUNCTION(libvirt_storagevolume_create_xml_from)
 
     virStorageVolPtr volume=NULL;
     char *xml;
-    int xml_len;
+    strsize_t xml_len;
 
     if (zend_parse_parameters (ZEND_NUM_ARGS() TSRMLS_CC, "rsr", &zpool, &xml, &xml_len, &zvolume) == FAILURE)
     {
-- 
2.5.5




More information about the libvir-list mailing list