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

BUG: Mitigate integer overflow in texture classes #500

Merged
merged 2 commits into from
Jun 25, 2019

Conversation

JoostJM
Copy link
Collaborator

@JoostJM JoostJM commented Jun 25, 2019

Replace indexing using int data type by size_t and intptr_t datatype (depending on whether negative values are needed).

Replace indexing using `int` data type by `size_t` and `intptr_t` datatype (depending on whether negative values are needed).
Linux compiler does not recognize type `intptr_t`. Therefore, update code to work with `size_t`.
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.

1 participant