Skip to content

common: fix ctype(3) usage#25888

Open
0-wiz-0 wants to merge 1 commit into
ggml-org:masterfrom
0-wiz-0:master
Open

common: fix ctype(3) usage#25888
0-wiz-0 wants to merge 1 commit into
ggml-org:masterfrom
0-wiz-0:master

Conversation

@0-wiz-0

@0-wiz-0 0-wiz-0 commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Overview

ctype(3) functions only accept EOF or values in the range of unsigned char.
This patch fixes the arguments to be in the allowed range.
This fixes compilation warnings on NetBSD.

Additional information

NetBSD's man ctype page describes this in more details.

Requirements

ctype(3) functions only accept EOF or values in the range of unsigned
char.
@0-wiz-0
0-wiz-0 requested review from a team and CISC as code owners July 19, 2026 10:24
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