Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
pacemaker.34782
pacemaker#3381-0001-Fix-libcrmcommon-use-uint32...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker#3381-0001-Fix-libcrmcommon-use-uint32_t-for-32-bit-magic-numbe.patch of Package pacemaker.34782
From f964f4de46eb9719ac4d93971074573bec7b34b8 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Fri, 1 Mar 2024 17:36:17 +0100 Subject: [PATCH] Fix: libcrmcommon: use uint32_t for 32-bit magic numbers So that they are correctly handled on 32-bit systems. Previously unit test would fail on 32-bit systems: > lib/common/tests/xml/crm_xml_init_test TAP version 13 1..8 ok 1 - buffer_scheme_test not ok 2 - create_document_node # 0xffffffff81726354 != 0x81726354 # crm_xml_init_test.c:61: error: Failure! --- lib/common/crmcommon_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: pacemaker-2.1.2+20211124.ada5c3b36/lib/common/crmcommon_private.h =================================================================== --- pacemaker-2.1.2+20211124.ada5c3b36.orig/lib/common/crmcommon_private.h +++ pacemaker-2.1.2+20211124.ada5c3b36/lib/common/crmcommon_private.h @@ -59,7 +59,7 @@ typedef struct pcmk__deleted_xml_s { } pcmk__deleted_xml_t; typedef struct xml_private_s { - long check; + uint32_t check; uint32_t flags; char *user; GList *acls;
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