HomeFreeBSD

Fix GCC build of ptrace_test after 96a9e50e63bfc

Description

Fix GCC build of ptrace_test after 96a9e50e63bfc

It seems like GCC's -Wsign-compare is stricter and also warns for
constants. Appease GCC by adding the required casts.

Fixes: 96a9e50e63bfc ("ptrace_test: Add more debug output on test failures")
Reported by: Jenkins CI

(cherry picked from commit 1fcbddec14dd693acf6a4be579f8d9e10b6a06a4)

Details

Provenance
arichardsonAuthored on Mar 3 2021, 11:21 AM
Parents
rG2726b46353a9: Fix ptrace_test:ptrace__syscall_args after ATF upgrade
Branches
Unknown
Tags
Unknown