PDP1: Compiler warning cleanup
- Avoid potential out of array indexing due to theoretical array reference via signed char index. Likely non functional change.
This commit is contained in:
parent
0c782d2041
commit
02732514e8
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ return sp;
|
||||||
|
|
||||||
#define FMTASC(x) ((x) < 040)? "<%03o>": "%c", (x)
|
#define FMTASC(x) ((x) < 040)? "<%03o>": "%c", (x)
|
||||||
#define SIXTOASC(x) fiodec_to_ascii[x]
|
#define SIXTOASC(x) fiodec_to_ascii[x]
|
||||||
#define ASCTOSIX(x) (ascii_to_fiodec[x] & 077)
|
#define ASCTOSIX(x) (ascii_to_fiodec[(x) & 0177] & 077)
|
||||||
|
|
||||||
t_stat fprint_sym (FILE *of, t_addr addr, t_value *val,
|
t_stat fprint_sym (FILE *of, t_addr addr, t_value *val,
|
||||||
UNIT *uptr, int32 sw)
|
UNIT *uptr, int32 sw)
|
||||||
|
|
Loading…
Add table
Reference in a new issue