summaryrefslogtreecommitdiff
path: root/stdscan.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-11 10:12:58 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-11 10:12:58 -0700
commit51cbf4a1fabe0f7b2604e69f3cf5228dc2cbce2b (patch)
tree77e760b9a7144dddb0f8d3e4999e5ab6ccfbba55 /stdscan.c
parentf8ba53eb2a6dbccb642c66a914f628aacd36a509 (diff)
downloadnasm-51cbf4a1fabe0f7b2604e69f3cf5228dc2cbce2b.tar.gz
nasm-51cbf4a1fabe0f7b2604e69f3cf5228dc2cbce2b.tar.bz2
nasm-51cbf4a1fabe0f7b2604e69f3cf5228dc2cbce2b.zip
More "bool" fixes
A few more variables passed as pointers which are now defined as bool *.
Diffstat (limited to 'stdscan.c')
-rw-r--r--stdscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdscan.c b/stdscan.c
index 64e7798..e06fb84 100644
--- a/stdscan.c
+++ b/stdscan.c
@@ -146,7 +146,7 @@ int stdscan(void *private_data, struct tokenval *tv)
return tv->t_type = TOKEN_NUM;
} else if (*stdscan_bufptr == '\'' || *stdscan_bufptr == '"') { /* a char constant */
char quote = *stdscan_bufptr++, *r;
- int rn_warn;
+ bool rn_warn;
r = tv->t_charptr = stdscan_bufptr;
while (*stdscan_bufptr && *stdscan_bufptr != quote)
stdscan_bufptr++;