Skip to content

Fix typo#21

Merged
jserv merged 1 commit into
sysprog21:mainfrom
tobiichi3227:tobiichi3227-patch-1
Jun 4, 2026
Merged

Fix typo#21
jserv merged 1 commit into
sysprog21:mainfrom
tobiichi3227:tobiichi3227-patch-1

Conversation

@tobiichi3227

@tobiichi3227 tobiichi3227 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary by cubic

Fix a typo in the compare-and-swap example by using sizeof(*obj) instead of sizeof(*object) in memcmp/memcpy. This aligns the snippet with the function parameter and avoids confusion or compile errors.

Written for commit 68e5e76. Summary will update on new commits.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

Re-trigger cubic

@jserv jserv merged commit 6e4c097 into sysprog21:main Jun 4, 2026
2 checks passed
@jserv

jserv commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Thank @tobiichi3227 for contributing!

@tobiichi3227 tobiichi3227 deleted the tobiichi3227-patch-1 branch June 4, 2026 23:13
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