Skip to content

Commit

Permalink
toAscii: avoid dependency on _GNU_SOURCE
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Dec 21, 2022
1 parent 1009657 commit 981a9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/WCharacter.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ inline bool isHexadecimalDigit(int c)
// ASCII character set, by clearing the high-order bits.
inline int toAscii(int c)
{
return toascii (c);
return (c & 0x7f);
}


Expand Down

0 comments on commit 981a9f6

Please sign in to comment.