Avoid unsafe loc_name type casts with additional variablemaster
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 28 Feb 2015 01:18:56 +0000 (22:18 -0300)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 28 Feb 2015 01:18:56 +0000 (22:18 -0300)
commite7f07af50b231d3ade6b4d338a65d6b571f96116
treeb6d96de862b607f02df43ed4f306b632445a744a
parentc7b19ca99a410e9f2b82b9b3494c12c9a5da32db
Avoid unsafe loc_name type casts with additional variable

for  ChangeLog

[BZ #15969]
* locale/findlocale.c (_nl_find_locale): Introduce const
version of loc_name and drop unsafe type casts.
ChangeLog
locale/findlocale.c