libuv
libuv copied to clipboard
inet: prefer sizeof with parenthesis
This is not precisely a strict rule, but this syntax is reinforced in many large C projects like the Linux kernel and cURL.
From my POV, using parenthesis when using sizeof() is just less ambiguous.
But feel free to reject if u don't find this useful.
I think overall we have more usage of no parentheses across the project, can you check?
sizeof(x) is about 6.3x more prevalent than sizeof x
Then it's settled!