chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
dd65cf2
)
utils/macros.h (STATIC_ASSERT): Boolean-canonify the expression.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 23 Jun 2022 14:01:14 +0000
(15:01 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 23 Jun 2022 14:03:21 +0000
(15:03 +0100)
6.7.10p3 insists that the expression be an integer constant expression,
but this isn't in a constraint, so the behaviour is undefined if it's
not an integer constant expression. Apply `!!' to force pointerish
expressions to integer type.
*headdesk*
No differences found