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 clang errors #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ludflu
Copy link

@ludflu ludflu commented Aug 4, 2024

  • fix problems with casting unsigned ints to (void *) pointers
  • these changes allow us to compile PortMidi for OSX again.

Copy link
Member

@OlivierSohn OlivierSohn left a comment

Choose a reason for hiding this comment

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

LGTM, there are lots of formatting changes but the code seems more readable now.

@dpwiz
Copy link

dpwiz commented Aug 6, 2024

Is it possible to split commits into formatting and then actual fixing?

@ludflu
Copy link
Author

ludflu commented Aug 6, 2024

yes, i'd be happy to do that

@ludflu
Copy link
Author

ludflu commented Aug 18, 2024

Is there anything else I can do to help move this along?

@OlivierSohn
Copy link
Member

I am not familiar with this code at all, but after looking at how the descriptor field is used in the code base, the changes seem to be reasonable.

I think I would prefer if the macro for casting is removed and casts are in the code directly.

@dpwiz are you more familiar with this code base, what do you think?

@dpwiz
Copy link

dpwiz commented Sep 5, 2024

There were a few more warnings about pointers, so... #22

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.

3 participants