Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 981a9f6

Browse files
committed
toAscii: avoid dependency on _GNU_SOURCE
1 parent 1009657 commit 981a9f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎api/WCharacter.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ inline bool isHexadecimalDigit(int c)
145145
// ASCII character set, by clearing the high-order bits.
146146
inline int toAscii(int c)
147147
{
148-
return toascii (c);
148+
return (c & 0x7f);
149149
}
150150

151151

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /