GCC 12's -Wsign-compare complains if the two alternative results of
the ?: operator are differently signed. Cast the small, sub-page
off_t values to size_t to quiet the warning.
Details
Details
- Reviewers
kib markj imp - Commits
- rG8dd8d56d9576: posixshm_test: Fix sign mismatches in ?: results.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 48540 Build 45426: arc lint + arc unit