summaryrefslogtreecommitdiff
path: root/sys/dev/files.dev
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-08-13 19:30:37 +0000
committerrillig <rillig@NetBSD.org>2020-08-13 19:30:37 +0000
commitb0af4f1f03d034e39da7f6d1cc85921797403172 (patch)
treecea06350451bc9fce10ab8229b551fc87a6c87b5 /sys/dev/files.dev
parent47e296faa2ee14ca41b13ec9c7986ea1833bc5b1 (diff)
make(1): fix type of local variable in CondGetString
When the Boolean type from sprite.h is replaced with C99's standard bool type, the chained assignment leads to the following compile error with GCC 5: cond.c:404:5: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] *quoted = qt = *condExpr == '"' ? 1 : 0; Changing the type of qt from int to bool fixes this.
Diffstat (limited to 'sys/dev/files.dev')
0 files changed, 0 insertions, 0 deletions