-
Notifications
You must be signed in to change notification settings - Fork 31
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
In comments, fix typos. #87
Conversation
Thank you for this PR! LGTM except one nit about "eightbytes". I also flagged a couple pre-existing typos that it makes sense to fix in this PR. I'll run the workflows once you've made those changes (or let me know if you'd prefer I make them myself). Thanks for the catch about the comment in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just needs a few tiny tweaks - let me know whether you'd rather make those fixes or just have me do it.
@@ -11,7 +11,7 @@ int main(void) { | |||
} | |||
int i = -50; | |||
int *i_ptr = &i; | |||
// convert i_ptr to unsigned, perform conversion, then convert back | |||
// convert *i_ptr to unsigned, perform conversion, then convert back |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're updating this line anyway, could you change "perform conversion" to "perform operation"?
@@ -1,4 +1,4 @@ | |||
// Test comound assignment through pointers that requires type conversions | |||
// Test comound assignment through pointers that require type conversions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're fixing this line anyway, could you change "comound" to "compound"?
Thanks for your corrections. Please go ahead and make the adjustments. |
cc84f99
to
2e83cb9
Compare
This PR modifies intra-sample comments only.
One thing I left untouched: in
tests/chapter_10/valid/libraries/external_linkage_function_client.c
,add_three_and_four()
, comment says thesum()
function is shadowed, but it's not.