Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:wbem
libcmpiutil
0001-fix-ARM-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fix-ARM-build.patch of Package libcmpiutil
From f278c309f5e5ee3505bf36f675bd9828d77efe75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 23 Jun 2022 14:29:39 +0200 Subject: [PATCH 1/2] fix ARM build --- eo_parser_xml.c | 2 +- std_association.c | 4 ++-- std_indication.c | 2 +- std_invokemethod.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eo_parser_xml.c b/eo_parser_xml.c index 551a87b..4e34db5 100644 --- a/eo_parser_xml.c +++ b/eo_parser_xml.c @@ -298,7 +298,7 @@ static bool parse_array_property(const CMPIBroker *broker, type = parse_array(broker, tstr, val_arr, &array); if (type != CMPI_null) { CU_DEBUG("Setting array property"); - CMSetProperty(inst, name, &array, (CMPI_ARRAY | type)); + CMSetProperty(inst, name, (void*)&array, (CMPI_ARRAY | type)); } } diff --git a/std_association.c b/std_association.c index 9204628..2646722 100644 --- a/std_association.c +++ b/std_association.c @@ -38,9 +38,9 @@ void set_reference(struct std_assoc *assoc, const CMPIObjectPath *target) { CMSetProperty(inst, assoc->source_prop, - (CMPIValue *)&source, CMPI_ref); + (CMPIValue *)(void*)&source, CMPI_ref); CMSetProperty(inst, assoc->target_prop, - (CMPIValue *)&target, CMPI_ref); + (CMPIValue *)(void*)&target, CMPI_ref); } static bool match_op(const CMPIBroker *broker, diff --git a/std_indication.c b/std_indication.c index 21df1f5..eb2771e 100644 --- a/std_indication.c +++ b/std_indication.c @@ -402,7 +402,7 @@ CMPIStatus stdi_raise_indication(const CMPIBroker *broker, if (s.rc != CMPI_RC_OK) return s; - s = CMAddArg(argsin, "TheIndication", &ind, CMPI_instance); + s = CMAddArg(argsin, "TheIndication", (void*)&ind, CMPI_instance); if (s.rc != CMPI_RC_OK) return s; diff --git a/std_invokemethod.c b/std_invokemethod.c index fb40c1d..10a143b 100644 --- a/std_invokemethod.c +++ b/std_invokemethod.c @@ -115,7 +115,7 @@ static int parse_eo_array(CMPIArray *strings_in, } CMSetArrayElementAt(*instances_out, i, - (CMPIValue *)&inst, + (CMPIValue *)(void*)&inst, CMPI_instance); } -- 2.47.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor