> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 23:11:45 up 3 days 22:12, 2 users, load average: 0.49, 0.61, 0.78
This commit is contained in:
parent
2df6be0dfa
commit
17e04161c2
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ static word_t parse_uint(const char *arg, bool *success) {
|
|||
char *endptr;
|
||||
uintmax_t n = strtoumax(arg, &endptr, base);
|
||||
if (errno == ERANGE || n > WORD_T_MAX) {
|
||||
printf("%s is exceed the limit of uint\n", arg);
|
||||
printf("%s exceed the limit of uint\n", arg);
|
||||
*success = false;
|
||||
return 0;
|
||||
} else if (arg == endptr) {
|
||||
|
|
Loading…
Reference in a new issue