Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation warnings on A32 build #125

Open
IgWod opened this issue May 31, 2024 · 0 comments
Open

Compilation warnings on A32 build #125

IgWod opened this issue May 31, 2024 · 0 comments

Comments

@IgWod
Copy link
Collaborator

IgWod commented May 31, 2024

When building MAMBO on 32-bit Arm following warnings appear (also see GitHub Actions):

syscalls.c: In function ‘syscall_handler_pre’:
syscalls.c:233:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  233 |       clone_args.child_stack = (void*)cl_args->stack + cl_args->stack_size;
      |                                ^
syscalls.c:234:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  234 |       clone_args.ptid = (void*)cl_args->parent_tid;
      |                         ^a
syscalls.c:236:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  236 |       clone_args.ctid = (void*)cl_args->child_tid;
      |                         

This is not an ideal situation and having it fixed would be desirable. Leaving it here for now as a good first issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant