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

Add (void) to remove -Wstrict-prototypes warnings #297

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

JorisGoosen
Copy link
Contributor

This expands on 5ad8004

Because just building Readstat on macos with XCode 14.3 leads to a whole lot more of those warnings and with this PR they should be silenced properly.

@JorisGoosen
Copy link
Contributor Author

@evanmiller ?

@evanmiller
Copy link
Contributor

This PR introduces several spelling errors; please remove them.

@JorisGoosen
Copy link
Contributor Author

Dont know how those got in there, but they are fixed and I found another one as well

@@ -366,7 +366,7 @@ void ieee2xpt(unsigned char *ieee, unsigned char *xport) {
shift = (int)
(ieee_exp = (int)(((ieee1 >> 16) & 0x7ff0) >> 4) - 1023)
& 3;
/* the ieee format has an implied "1" immdeiately to the left */
/* the ieee format has an implied "1" immediately to the left */
Copy link
Contributor

Choose a reason for hiding this comment

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

One more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

immediately is correct no?

@evanmiller evanmiller merged commit 211c342 into WizardMac:dev Sep 20, 2023
12 of 13 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