Skip to content

Commit

Permalink
stalker-x86: fix 32bit build
Browse files Browse the repository at this point in the history
  • Loading branch information
s1341 committed Feb 12, 2024
1 parent d48caa6 commit 10ea4ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/core/arch-x86/stalker-x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,11 @@ static void
callout_set_cool (GumCpuContext * cpu_context,
gpointer user_data)
{
#if GLIB_SIZEOF_VOID_P == 8
cpu_context->rax = 0xc001;
#else
cpu_context->eax = 0xc001;
#endif
}

TESTCASE (unfollow_should_be_allowed_before_first_transform)
Expand Down

0 comments on commit 10ea4ad

Please sign in to comment.