HomeClusterLabs Projects

Fix time formatting on x32

Description

Fix time formatting on x32

On x32, time_t is long long, but long is only 32bits, so sprintf("%ld", time_t)
will error out. Fix by always casting to long long which is long enough on any
platform.

Details

Provenance
Christoph Berg <myon@debian.org>Authored on May 20 2016, 12:16 PM
Parents
rPdc7b9e2b9c10: Merge pull request #1004 from jnpkrn/build-make-srpm-pre-releases
Branches
Unknown
Tags
Unknown

Event Timeline