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

Fix node masks signed/unsigned mismatch #3072

Merged
merged 1 commit into from
Apr 21, 2021
Merged

Conversation

akortunov
Copy link
Collaborator

Masks in OSG are unsigned integers, and we usually treat them as unsigned, but sometimes we declare and pass them as integers, what causes "unsigned int -> int" casts (MSVC complains about them, but we have that warning in a very long list of blacklisted warnings).

This PR is aimed to make masks usage more consistent.

@psi29a psi29a requested a review from AnyOldName3 April 20, 2021 07:28
@psi29a
Copy link
Member

psi29a commented Apr 20, 2021

I'm pulling in @AnyOldName3 here

@psi29a
Copy link
Member

psi29a commented Apr 20, 2021

Changes look okay to me, consistent.

@akortunov akortunov merged commit faad18b into OpenMW:master Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants