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

Modification of integer initialization to INT/LONG_MAX #247

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

Algiane
Copy link
Member

@Algiane Algiane commented Mar 5, 2024

This PR modifies the fix proposed by PR#223: now the size of the maximal integer is defined by CMake to INT_MAX or LONG_MAX when configuring the size of the MMG5_int integers.

It allows to decide the value of the maximal integer at configuration time and removes a compiler warning about integer overflow with int32_t integers.

@coprigent : thank you by advance for your review.

@Algiane Algiane added kind: enhancement enhancement to an existing feature part: int64 labels Mar 5, 2024
Copy link
Contributor

@corentin-prigent corentin-prigent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@Algiane Algiane merged commit 72d5981 into develop Mar 18, 2024
45 checks passed
@Algiane Algiane deleted the feature/inival-init-32b-warning branch May 3, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement enhancement to an existing feature part: int64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants