> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.71 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan 5 14:18:41 UTC 2024 x86_64 GNU/Linux 00:09:05 up 2 days 13:03, 2 users, load average: 0.52, 0.51, 0.49
This commit is contained in:
parent
c20efb9cd2
commit
51c91e8371
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ START_TEST(test_expr_plain_register) {
|
|||
// NOTE: need to fix this if want to support more arch
|
||||
buf[0] = '$';
|
||||
for (i = 1; i < 32; i++) {
|
||||
ck_assert(strcpy(buf + 1, regs[i]));
|
||||
ck_assert(strncpy(buf + 1, regs[i], 10));
|
||||
gpr(i) = i;
|
||||
yy_scan_string(buf);
|
||||
result = yyparse(&value);
|
||||
|
|
Loading…
Reference in a new issue