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

bfd: use time_t to avoid implicit ptr type casting #2471

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

athos-ribeiro
Copy link
Contributor

This fixes an incompatible pointer type [-Wincompatible-pointer-types] issue when compiling keepalived with GCC 14 [1] in 32-bit architectures where time_t size is 64 bits.

[1] https://gcc.gnu.org/gcc-14/porting_to.html

The issue was found when compiling keepalived in Ubuntu 24.10 for armhf with gcc 14 (https://launchpadlibrarian.net/749244069/buildlog_ubuntu-oracular-armhf.keepalived_1%3A2.3.1-1_BUILDING.txt.gz)

This fixes an incompatible pointer type [-Wincompatible-pointer-types]
issue when compiling keepalived with GCC 14 [1] in 32-bit architectures
where time_t size is 64 bits.

[1] https://gcc.gnu.org/gcc-14/porting_to.html
@pqarmitage pqarmitage merged commit bb33e03 into acassen:master Sep 26, 2024
10 checks passed
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.

2 participants