HomeFreeBSD

Quiet compiler warnings for fget_noref and fdget_noref

Description

Quiet compiler warnings for fget_noref and fdget_noref

Summary:
Typecasting both parts of the comparison to u_int quiets compiler
warnings about signed/unsigned comparison and takes care of positive
and negative numbers for the file descriptor in a single comparison.

Obtained from: Juniper Netwowrks, Inc.

Reviewers: mjg

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D39593

Details

Provenance
stevekAuthored on Apr 16 2023, 3:50 AM
Differential Revision
D39593: Quiet compiler warnings for fget_noref and fdget_noref
Parents
rG0ab68e9272b5: loader: lua: disable autoboot timer after password entry
Branches
Unknown
Tags
Unknown