Skip to content

Fix incorrect use of sizeof operator#223

Open
szsam wants to merge 1 commit into
beagleboard:masterfrom
IVOES:cpp/suspicious-sizeof
Open

Fix incorrect use of sizeof operator#223
szsam wants to merge 1 commit into
beagleboard:masterfrom
IVOES:cpp/suspicious-sizeof

Conversation

@szsam

@szsam szsam commented May 30, 2023

Copy link
Copy Markdown

'sizeof address' evaluates to the size of the pointer type, which is NOT what we want.

'sizeof address' evaluates to the size of the pointer type,
which is NOT what we want.
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.

1 participant