diff options
| author | rillig <rillig@NetBSD.org> | 2020-08-13 19:30:37 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2020-08-13 19:30:37 +0000 |
| commit | b0af4f1f03d034e39da7f6d1cc85921797403172 (patch) | |
| tree | cea06350451bc9fce10ab8229b551fc87a6c87b5 /sys/dev/files.dev | |
| parent | 47e296faa2ee14ca41b13ec9c7986ea1833bc5b1 (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
