Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: Cast return of setlocale() to const
If they had it to do over again, the libc makers would have made the return of this function 'const char *'. We can cast it that way internally to catch erroneous uses at compile time.
- Loading branch information