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

Appearance settings

Commit 981a9f6

Browse filesBrowse files
committed
toAscii: avoid dependency on _GNU_SOURCE
1 parent 1009657 commit 981a9f6
Copy full SHA for 981a9f6

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎api/WCharacter.h

Copy file name to clipboardExpand all lines: api/WCharacter.h
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.