Skip to content

Commit

Permalink
Fix RH850 test for 32bits host arch
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualabs committed Jan 10, 2024
1 parent b605c79 commit f163edc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_rh850.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ static void uc_common_setup(uc_engine **uc, uc_arch arch, uc_mode mode,
static void test_rh850_add(void)
{
char code[] = "\x01\x0e\x06\x00\xc1\x11";
uint64_t r1 = 0x1234;
uint64_t r2 = 0x7777;
uint64_t pc;
int r1 = 0x1234;
int r2 = 0x7777;
int pc;
uc_engine *uc;

uc_common_setup(&uc, UC_ARCH_RH850, UC_MODE_LITTLE_ENDIAN, code,
Expand Down

0 comments on commit f163edc

Please sign in to comment.