Skip to content

Typo correction #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _posts/2021-12-30-usual_arithmetic_confusions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ around what the type of an integer literal will be in various cases e.g.
// https://cppinsights.io/s/0ffee264
void f() {
auto x1 = 1; // Integer literal 1 will have type int
auto x2 = 1U; // Integer literal 1L will have type unsigned int
auto x2 = 1U; // Integer literal 1U will have type unsigned int
auto x3 = 1L; // Integer literal 1L will have type long int
auto x4 = 1UL; // Integer literal 1UL will have type unsigned long int
}
Expand Down