Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast days() result to int64_t #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vbashkirtsev
Copy link

Method days() in boost::gregorian::date_duration returns long and it breaks compilation on 32 bit system. We should cast days() result into int64_t to use appropriate set_value() method.

Signed-off-by: Vladimir Bashkirtsev vladimir@bashkirtsev.com

Method days() in boost::gregorian::date_duration returns long and it breaks compilation on 32 bit system. We should cast days() result into int64_t to use appropriate set_value() method.

Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
@galsalomon66
Copy link
Owner

Thanks,
this project is about to be modified significantly, including git-actions.
(and also your fix)

@vbashkirtsev
Copy link
Author

Thank you for letting me know. Your project is used as a submodule in Ceph and this issue has blocked Ceph build on 32 bit system. Is it possible to merge this PR now so Ceph builds will succeed?

@galsalomon66
Copy link
Owner

please rebase, and validate whether its satisfy you system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants