Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
pacemaker.26929
pacemaker-libcrmcommon-use-correct-argument-typ...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-libcrmcommon-use-correct-argument-type-for-duration.patch of Package pacemaker.26929
commit 1db8425644f8a7c18ba9af6e75e92981b2eef248 Author: Ken Gaillot <kgaillot@redhat.com> Date: Wed Apr 4 16:15:09 2018 -0500 Low: libcrmcommon: use correct argument type for duration diff --git a/lib/common/iso8601.c b/lib/common/iso8601.c index d00085e4d..517c50daf 100644 --- a/lib/common/iso8601.c +++ b/lib/common/iso8601.c @@ -468,13 +468,13 @@ crm_time_as_string(crm_time_t * date_time, int flags) goto done; } else if (flags & crm_time_seconds) { - unsigned long long s = crm_time_get_seconds(date_time); + long long s = crm_time_get_seconds(date_time); snprintf(date_s, 32, "%lld", s); /* Durations may not be +ve */ goto done; } else if (flags & crm_time_epoch) { - unsigned long long s = crm_time_get_seconds_since_epoch(date_time); + long long s = crm_time_get_seconds_since_epoch(date_time); snprintf(date_s, 32, "%lld", s); /* Durations may not be +ve */ goto done;
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