From nobody Wed May 14 13:22:49 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1524487553899244.21327040031656; Mon, 23 Apr 2018 05:45:53 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 765B9C04BD27; Mon, 23 Apr 2018 12:45:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2FD748316B; Mon, 23 Apr 2018 12:45:50 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 78D174CAB5; Mon, 23 Apr 2018 12:45:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w3NCjBRr011906 for ; Mon, 23 Apr 2018 08:45:11 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6C7F47C28; Mon, 23 Apr 2018 12:45:11 +0000 (UTC) Received: from caroline.localdomain (unknown [10.43.2.67]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1019483B91 for ; Mon, 23 Apr 2018 12:45:08 +0000 (UTC) Received: from caroline.brq.redhat.com (caroline.usersys.redhat.com [127.0.0.1]) by caroline.localdomain (Postfix) with ESMTP id 9625212006E for ; Mon, 23 Apr 2018 14:45:07 +0200 (CEST) From: Martin Kletzander To: libvir-list@redhat.com Date: Mon, 23 Apr 2018 14:44:32 +0200 Message-Id: <47c393b05a45bb0020ea7f8a1643896e16e6d9ff.1524487472.git.mkletzan@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 04/29] esx: Add spaces after casts X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 23 Apr 2018 12:45:53 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Martin Kletzander --- src/esx/esx_driver.c | 18 +++++------ src/esx/esx_interface_driver.c | 2 +- src/esx/esx_network_driver.c | 2 +- src/esx/esx_storage_backend_vmfs.c | 6 ++-- src/esx/esx_stream.c | 2 +- src/esx/esx_util.c | 2 +- src/esx/esx_vi.c | 16 +++++----- src/esx/esx_vi_types.c | 48 +++++++++++++++--------------- 8 files changed, 48 insertions(+), 48 deletions(-) diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index c682c800caaf..7bc867b9e8a2 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -168,7 +168,7 @@ esxParseVMXFileName(const char *fileName, void *opaque) goto cleanup; } =20 - tmp =3D (char *)STRSKIP(fileName, hostMount->mountInfo->path); + tmp =3D (char *) STRSKIP(fileName, hostMount->mountInfo->path); =20 if (!tmp) continue; @@ -2268,8 +2268,8 @@ esxDomainGetInfo(virDomainPtr domain, virDomainInfoPt= r info) querySpec->entity =3D virtualMachine->obj; querySpec->maxSample->value =3D 1; querySpec->metricId->counterId->value =3D priv->usedCpuTimeCou= nterId; - querySpec->metricId->instance =3D (char *)""; - querySpec->format =3D (char *)"normal"; + querySpec->metricId->instance =3D (char *) ""; + querySpec->format =3D (char *) "normal"; =20 if (esxVI_QueryPerf(priv->host, querySpec, &perfEntityMetricBaseList) < 0) { @@ -2308,7 +2308,7 @@ esxDomainGetInfo(virDomainPtr domain, virDomainInfoPt= r info) for (value =3D perfMetricIntSeries->value; value; value =3D value->_next) { - VIR_DEBUG("value %lld", (long long int)value->valu= e); + VIR_DEBUG("value %lld", (long long int) value->val= ue); } } } @@ -2757,7 +2757,7 @@ esxConnectDomainXMLFromNative(virConnectPtr conn, con= st char *nativeFormat, } =20 data.ctx =3D priv->primary; - data.datastorePathWithoutFileName =3D (char *)"[?] ?"; + data.datastorePathWithoutFileName =3D (char *) "[?] ?"; =20 ctx.opaque =3D &data; ctx.parseFileName =3D esxParseVMXFileName; @@ -3416,9 +3416,9 @@ esxDomainSetAutostart(virDomainPtr domain, int autost= art) newPowerInfo->startOrder->value =3D -1; /* no specific start order */ newPowerInfo->startDelay->value =3D -1; /* use system default */ newPowerInfo->waitForHeartbeat =3D esxVI_AutoStartWaitHeartbeatSetting= _SystemDefault; - newPowerInfo->startAction =3D autostart ? (char *)"powerOn" : (char *)= "none"; + newPowerInfo->startAction =3D autostart ? (char *) "powerOn" : (char *= ) "none"; newPowerInfo->stopDelay->value =3D -1; /* use system default */ - newPowerInfo->stopAction =3D (char *)"none"; + newPowerInfo->stopAction =3D (char *) "none"; =20 if (esxVI_AutoStartPowerInfo_AppendToList(&spec->powerInfo, newPowerInfo) < 0) { @@ -3865,12 +3865,12 @@ esxDomainMigratePerform(virDomainPtr domain, =20 resourcePool._next =3D NULL; resourcePool._type =3D esxVI_Type_ManagedObjectReference; - resourcePool.type =3D (char *)"ResourcePool"; + resourcePool.type =3D (char *) "ResourcePool"; resourcePool.value =3D path_resourcePool; =20 hostSystem._next =3D NULL; hostSystem._type =3D esxVI_Type_ManagedObjectReference; - hostSystem.type =3D (char *)"HostSystem"; + hostSystem.type =3D (char *) "HostSystem"; hostSystem.value =3D path_hostSystem; =20 /* Lookup VirtualMachine */ diff --git a/src/esx/esx_interface_driver.c b/src/esx/esx_interface_driver.c index e3b41164e7ba..00affaa27e93 100644 --- a/src/esx/esx_interface_driver.c +++ b/src/esx/esx_interface_driver.c @@ -205,7 +205,7 @@ esxInterfaceGetXMLDesc(virInterfacePtr iface, unsigned = int flags) =20 /* FIXME: Add support for IPv6, requires to use vSphere API 4.0 */ if (physicalNic->spec->ip) { - protocol.family =3D (char *)"ipv4"; + protocol.family =3D (char *) "ipv4"; =20 if (physicalNic->spec->ip->dhcp =3D=3D esxVI_Boolean_True) protocol.dhcp =3D 1; diff --git a/src/esx/esx_network_driver.c b/src/esx/esx_network_driver.c index b19c06a4cbf8..e9a580002458 100644 --- a/src/esx/esx_network_driver.c +++ b/src/esx/esx_network_driver.c @@ -366,7 +366,7 @@ esxNetworkDefineXML(virConnectPtr conn, const char *xml) } =20 hostVirtualSwitchSpec->bridge =3D - (esxVI_HostVirtualSwitchBridge *)hostVirtualSwitchBondBridge; + (esxVI_HostVirtualSwitchBridge *) hostVirtualSwitchBondBridge; =20 /* Lookup PhysicalNic list and match by name to get key */ if (esxVI_LookupPhysicalNicList(priv->primary, &physicalNicList) <= 0) diff --git a/src/esx/esx_storage_backend_vmfs.c b/src/esx/esx_storage_backe= nd_vmfs.c index 940e5d1f0685..8c3a82b020dc 100644 --- a/src/esx/esx_storage_backend_vmfs.c +++ b/src/esx/esx_storage_backend_vmfs.c @@ -951,13 +951,13 @@ esxStorageVolCreateXML(virStoragePoolPtr pool, * "A preallocated disk has all space allocated at creation ti= me * and the space is zeroed on demand as the space is used." */ - virtualDiskSpec->diskType =3D (char *)"preallocated"; + virtualDiskSpec->diskType =3D (char *) "preallocated"; } else if (def->target.allocation =3D=3D 0) { /* * "Space required for thin-provisioned virtual disk is alloca= ted * and zeroed on demand as the space is used." */ - virtualDiskSpec->diskType =3D (char *)"thin"; + virtualDiskSpec->diskType =3D (char *) "thin"; } else { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Unsupported capacity-to-allocation relation"= )); @@ -969,7 +969,7 @@ esxStorageVolCreateXML(virStoragePoolPtr pool, * way to let the user specify it in the volume XML config. Theref= ore, * default to 'lsilogic' here. */ - virtualDiskSpec->adapterType =3D (char *)"lsilogic"; + virtualDiskSpec->adapterType =3D (char *) "lsilogic"; =20 virtualDiskSpec->capacityKb->value =3D VIR_DIV_UP(def->target.capacity, 1024); /* Scale from byte to ki= lobyte */ diff --git a/src/esx/esx_stream.c b/src/esx/esx_stream.c index b820b38ee24b..3bc2e36ee964 100644 --- a/src/esx/esx_stream.c +++ b/src/esx/esx_stream.c @@ -219,7 +219,7 @@ esxStreamSend(virStreamPtr stream, const char *data, si= ze_t nbytes) =20 virMutexLock(&priv->curl->lock); =20 - priv->buffer =3D (char *)data; + priv->buffer =3D (char *) data; priv->buffer_size =3D nbytes; priv->buffer_used =3D nbytes; =20 diff --git a/src/esx/esx_util.c b/src/esx/esx_util.c index 2dd9f7856988..5ad24fb1b76d 100644 --- a/src/esx/esx_util.c +++ b/src/esx/esx_util.c @@ -250,7 +250,7 @@ esxUtil_ParseDatastorePath(const char *datastorePath, c= har **datastoreName, preliminaryDirectoryAndFileName =3D strtok_r(NULL, "", &saveptr); =20 if (!preliminaryDirectoryAndFileName) { - preliminaryDirectoryAndFileName =3D (char *)""; + preliminaryDirectoryAndFileName =3D (char *) ""; } else { preliminaryDirectoryAndFileName +=3D strspn(preliminaryDirectoryAndFileName, " "); diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c index 43ff7ea0488d..d922794fdf6b 100644 --- a/src/esx/esx_vi.c +++ b/src/esx/esx_vi.c @@ -42,7 +42,7 @@ VIR_LOG_INIT("esx.esx_vi"); =20 #define ESX_VI__SOAP__RESPONSE_XPATH(_type) \ - ((char *)"/soapenv:Envelope/soapenv:Body/" \ + ((char *) "/soapenv:Envelope/soapenv:Body/" \ "vim:"_type"Response/vim:returnval") =20 =20 @@ -121,7 +121,7 @@ ESX_VI__TEMPLATE__FREE(CURL, static size_t esxVI_CURL_ReadString(char *data, size_t size, size_t nmemb, void *userdat= a) { - const char *content =3D *(const char **)userdata; + const char *content =3D *(const char **) userdata; size_t available =3D 0; size_t requested =3D size * nmemb; =20 @@ -138,7 +138,7 @@ esxVI_CURL_ReadString(char *data, size_t size, size_t n= memb, void *userdata) =20 memcpy(data, content, requested); =20 - *(const char **)userdata =3D content + requested; + *(const char **) userdata =3D content + requested; =20 return requested; } @@ -483,7 +483,7 @@ esxVI_SharedCURL_Lock(CURL *handle ATTRIBUTE_UNUSED, cu= rl_lock_data data, size_t i; esxVI_SharedCURL *shared =3D userptr; =20 - switch ((int)data) { + switch ((int) data) { case CURL_LOCK_DATA_SHARE: i =3D 0; break; @@ -497,7 +497,7 @@ esxVI_SharedCURL_Lock(CURL *handle ATTRIBUTE_UNUSED, cu= rl_lock_data data, break; =20 default: - VIR_ERROR(_("Trying to lock unknown SharedCURL lock %d"), (int)dat= a); + VIR_ERROR(_("Trying to lock unknown SharedCURL lock %d"), (int) da= ta); return; } =20 @@ -511,7 +511,7 @@ esxVI_SharedCURL_Unlock(CURL *handle ATTRIBUTE_UNUSED, = curl_lock_data data, size_t i; esxVI_SharedCURL *shared =3D userptr; =20 - switch ((int)data) { + switch ((int) data) { case CURL_LOCK_DATA_SHARE: i =3D 0; break; @@ -525,7 +525,7 @@ esxVI_SharedCURL_Unlock(CURL *handle ATTRIBUTE_UNUSED, = curl_lock_data data, break; =20 default: - VIR_ERROR(_("Trying to unlock unknown SharedCURL lock %d"), (int)d= ata); + VIR_ERROR(_("Trying to unlock unknown SharedCURL lock %d"), (int) = data); return; } =20 @@ -2238,7 +2238,7 @@ esxVI_LookupObjectContentByType(esxVI_Context *ctx, if (esxVI_PropertySpec_Alloc(&propertySpec) < 0) goto cleanup; =20 - propertySpec->type =3D (char *)type; + propertySpec->type =3D (char *) type; propertySpec->pathSet =3D propertyNameList; =20 if (esxVI_PropertyFilterSpec_Alloc(&propertyFilterSpec) < 0 || diff --git a/src/esx/esx_vi_types.c b/src/esx/esx_vi_types.c index ec7fda986570..5ad0d469d073 100644 --- a/src/esx/esx_vi_types.c +++ b/src/esx/esx_vi_types.c @@ -131,7 +131,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); int \ esxVI_##_type##_AppendToList(esxVI_##_type **list, esxVI_##_type *ite= m) \ { \ - return esxVI_List_Append((esxVI_List **)list, (esxVI_List *)item);= \ + return esxVI_List_Append((esxVI_List **) list, (esxVI_List *) item= ); \ } =20 =20 @@ -142,7 +142,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); esxVI_##_type *srcList) \ { \ return esxVI_List_DeepCopy \ - ((esxVI_List **)destList, (esxVI_List *)srcList, \ + ((esxVI_List **) destList, (esxVI_List *) srcList, \ (esxVI_List_DeepCopyFunc)esxVI_##_type##_DeepCopy, \ (esxVI_List_FreeFunc)esxVI_##_type##_Free); \ } @@ -155,7 +155,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); esxVI_##_type **list) \ { \ return esxVI_List_CastFromAnyType \ - (anyType, (esxVI_List **)list, \ + (anyType, (esxVI_List **) list, \ (esxVI_List_CastFromAnyTypeFunc) \ esxVI_##_type##_CastFromAnyType, \ (esxVI_List_FreeFunc)esxVI_##_type##_Free); \ @@ -168,7 +168,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); esxVI_##_type##_SerializeList(esxVI_##_type *list, const char *element= , \ virBufferPtr output) \ { \ - return esxVI_List_Serialize((esxVI_List *)list, element, output, \ + return esxVI_List_Serialize((esxVI_List *) list, element, output, \ (esxVI_List_SerializeFunc) \ esxVI_##_type##_Serialize); \ } @@ -180,7 +180,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); esxVI_##_type##_DeserializeList(xmlNodePtr node, esxVI_##_type **list)= \ { \ return esxVI_List_Deserialize \ - (node, (esxVI_List **)list, \ + (node, (esxVI_List **) list, \ (esxVI_List_DeserializeFunc)esxVI_##_type##_Deserialize,= \ (esxVI_List_FreeFunc)esxVI_##_type##_Free); \ } @@ -352,7 +352,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); return -1; \ } \ \ - string =3D (char *)xmlNodeListGetString(node->doc, node->children,= 1); \ + string =3D (char *) xmlNodeListGetString(node->doc, node->children= , 1); \ \ if (!string) { \ virReportError(VIR_ERR_INTERNAL_ERROR, \ @@ -512,7 +512,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); esxVI_##_type *value) \ { \ return esxVI_Enumeration_CastFromAnyType \ - (&_esxVI_##_type##_Enumeration, anyType, (int *)value); \ + (&_esxVI_##_type##_Enumeration, anyType, (int *) value); \ } =20 =20 @@ -533,7 +533,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); esxVI_##_type##_Deserialize(xmlNodePtr node, esxVI_##_type *value) \ { \ return esxVI_Enumeration_Deserialize(&_esxVI_##_type##_Enumeration= , \ - node, (int *)value); \ + node, (int *) value); \ } =20 =20 @@ -544,7 +544,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); =20 #define ESX_VI__TEMPLATE__DISPATCH(_actual_type, _actual_type_name, __type= , \ _dispatch, _error_return) \ - switch ((int)_actual_type) { \ + switch ((int) _actual_type) { \ _dispatch \ \ case esxVI_Type_##__type: \ @@ -604,7 +604,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); =20 =20 #define ESX_VI__TEMPLATE__DYNAMIC_CAST__ACCEPT(__type) \ - if (((esxVI_Object *)item)->_type =3D=3D esxVI_Type_##__type) { \ + if (((esxVI_Object *) item)->_type =3D=3D esxVI_Type_##__type) { \ return item; \ } =20 @@ -690,7 +690,7 @@ VIR_LOG_INIT("esx.esx_vi_types"); return -1; \ } \ \ - switch ((int)type) { \ + switch ((int) type) { \ _dispatch \ \ case esxVI_Type_##__type: \ @@ -719,7 +719,7 @@ esxVI_GetActualObjectType(xmlNodePtr node, esxVI_Type b= aseType, return -1; } =20 - type =3D (char *)xmlGetNsProp + type =3D (char *) xmlGetNsProp (node, BAD_CAST "type", BAD_CAST "http://www.w3.org/2001/XMLSchema-instance"= ); =20 @@ -967,7 +967,7 @@ esxVI_AnyType_DeepCopy(esxVI_AnyType **dest, esxVI_AnyT= ype *src) goto failure; } =20 - switch ((int)src->type) { + switch ((int) src->type) { case esxVI_Type_Boolean: (*dest)->boolean =3D src->boolean; break; @@ -1026,7 +1026,7 @@ esxVI_AnyType_Deserialize(xmlNodePtr node, esxVI_AnyT= ype **anyType) } =20 (*anyType)->other =3D - (char *)xmlGetNsProp + (char *) xmlGetNsProp (node, BAD_CAST "type", BAD_CAST "http://www.w3.org/2001/XMLSchema-instance"); =20 @@ -1046,7 +1046,7 @@ esxVI_AnyType_Deserialize(xmlNodePtr node, esxVI_AnyT= ype **anyType) } =20 (*anyType)->value =3D - (char *)xmlNodeListGetString(node->doc, node->children, 1); + (char *) xmlNodeListGetString(node->doc, node->children, 1); =20 if (!(*anyType)->value && VIR_STRDUP((*anyType)->value, "") < 0) goto failure; @@ -1071,7 +1071,7 @@ esxVI_AnyType_Deserialize(xmlNodePtr node, esxVI_AnyT= ype **anyType) (*anyType)->_name =3D number; \ } while (0) =20 - switch ((int)(*anyType)->type) { + switch ((int) (*anyType)->type) { case esxVI_Type_Boolean: if (STREQ((*anyType)->value, "true")) { (*anyType)->boolean =3D esxVI_Boolean_True; @@ -1299,7 +1299,7 @@ esxVI_String_DeserializeValue(xmlNodePtr node, char *= *value) return -1; } =20 - *value =3D (char *)xmlNodeListGetString(node->doc, node->children, 1); + *value =3D (char *) xmlNodeListGetString(node->doc, node->children, 1); =20 return *value ? 0 : VIR_STRDUP(*value, ""); } @@ -1339,7 +1339,7 @@ ESX_VI__TEMPLATE__LIST__DEEP_COPY(Byte) /* esxVI_Byte_Serialize */ ESX_VI__TEMPLATE__SERIALIZE(Byte, { - virBufferAsprintf(output, "%d", (int)item->value); + virBufferAsprintf(output, "%d", (int) item->value); }) =20 /* esxVI_Byte_SerializeList */ @@ -1383,7 +1383,7 @@ ESX_VI__TEMPLATE__CAST_FROM_ANY_TYPE(Int) /* esxVI_Int_Serialize */ ESX_VI__TEMPLATE__SERIALIZE(Int, { - virBufferAsprintf(output, "%d", (int)item->value); + virBufferAsprintf(output, "%d", (int) item->value); }) =20 /* esxVI_Int_SerializeList */ @@ -1427,7 +1427,7 @@ ESX_VI__TEMPLATE__CAST_FROM_ANY_TYPE(Long) /* esxVI_Long_Serialize */ ESX_VI__TEMPLATE__SERIALIZE(Long, { - virBufferAsprintf(output, "%lld", (long long int)item->value); + virBufferAsprintf(output, "%lld", (long long int) item->value); }) =20 /* esxVI_Long_SerializeList */ @@ -1481,7 +1481,7 @@ esxVI_DateTime_Deserialize(xmlNodePtr node, esxVI_Dat= eTime **dateTime) return -1; =20 (*dateTime)->value =3D - (char *)xmlNodeListGetString(node->doc, node->children, 1); + (char *) xmlNodeListGetString(node->doc, node->children, 1); =20 if (!(*dateTime)->value) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", @@ -1653,7 +1653,7 @@ esxVI_MethodFault_Deserialize(xmlNodePtr node, esxVI_= MethodFault **methodFault) return -1; =20 (*methodFault)->_actualType =3D - (char *)xmlGetNsProp(node, BAD_CAST "type", + (char *) xmlGetNsProp(node, BAD_CAST "type", BAD_CAST "http://www.w3.org/2001/XMLSchema-inst= ance"); =20 if (!(*methodFault)->_actualType) { @@ -1747,7 +1747,7 @@ esxVI_ManagedObjectReference_Deserialize return -1; =20 (*managedObjectReference)->type =3D - (char *)xmlGetNoNsProp(node, BAD_CAST "type"); + (char *) xmlGetNoNsProp(node, BAD_CAST "type"); =20 if (!(*managedObjectReference)->type) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", @@ -1824,7 +1824,7 @@ ESX_VI__TEMPLATE__LIST__CAST_FROM_ANY_TYPE(Event) ESX_VI__TEMPLATE__DESERIALIZE_EXTRA(Event, /* nothing */, { (*ptrptr)->_actualType =3D - (char *)xmlGetNsProp(node, BAD_CAST "type", + (char *) xmlGetNsProp(node, BAD_CAST "type", BAD_CAST "http://www.w3.org/2001/XMLSchema-inst= ance"); =20 if (!(*ptrptr)->_actualType) { --=20 2.17.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list