diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-11 10:12:58 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-11 10:12:58 -0700 |
commit | 51cbf4a1fabe0f7b2604e69f3cf5228dc2cbce2b (patch) | |
tree | 77e760b9a7144dddb0f8d3e4999e5ab6ccfbba55 | |
parent | f8ba53eb2a6dbccb642c66a914f628aacd36a509 (diff) | |
download | nasm-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 *.
-rw-r--r-- | output/outieee.c | 3 | ||||
-rw-r--r-- | stdscan.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/output/outieee.c b/output/outieee.c index e507726..6f35e57 100644 --- a/output/outieee.c +++ b/output/outieee.c @@ -669,7 +669,8 @@ static int32_t ieee_segment(char *name, int pass, int *bits) return seghead->index; } else { struct ieeeSection *seg; - int ieee_idx, attrs, rn_error; + int ieee_idx, attrs; + bool rn_error; char *p; /* @@ -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++; |