mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
More "bool" fixes
A few more variables passed as pointers which are now defined as bool *.
This commit is contained in:
parent
f8ba53eb2a
commit
51cbf4a1fa
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user