Skip to content

Conversation

@alarixnia
Copy link

Eliminates a warning about char subscripts on NetBSD.

The argument of these functions is of type int, but only a very restricted subset of values are actually valid. The argument must either be the value of the macro EOF (which has a negative value), or must be a non-negative value within the range representable as unsigned char. Passing invalid values leads to undefined behavior.

Eliminates a warning about char subscripts on NetBSD.

The argument of these functions is of type int, but only a very
restricted subset of values are actually valid.  The argument must either
be the value of the macro EOF (which has a negative value), or must be a
non-negative value within the range representable as unsigned char.
Passing invalid values leads to undefined behavior.

Signed-off-by: Nia Alarie <nia@NetBSD.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant