]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix GCC build of ptrace_test after 96a9e50e63bfc
authorAlex Richardson <arichardson@FreeBSD.org>
Wed, 3 Mar 2021 11:21:04 +0000 (11:21 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Wed, 3 Mar 2021 11:22:43 +0000 (11:22 +0000)
commit1fcbddec14dd693acf6a4be579f8d9e10b6a06a4
treeac52aed94f299be86151b4a5906925f26b08a4b2
parent1df30489a8f7083c98010c94d9ce522f9e8213dc
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
tests/sys/kern/ptrace_test.c