summaryrefslogtreecommitdiff
path: root/gl/lib/di-set.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-10-13 20:35:50 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2010-10-13 22:41:13 -0700
commit34ef0a01f0e1d620dac17d35832449b6880641b0 (patch)
treea556fe98c35d185eb392fb3a3f953b39995e45c0 /gl/lib/di-set.c
parent71a3fd73a1fa005ee4ac969e57b43f90237656b9 (diff)
downloadcoreutils-34ef0a01f0e1d620dac17d35832449b6880641b0.tar.xz
sort: fix unportable cast of unsigned char * -> char *
* src/sort.c (fold_toupper): Change this back from char to unsigned char, fixing a portability issue introduced in commit 59e2e55d0f154a388adc9bac37d2b45f2ba971f8 dated February 26, as the C Standard doesn't let you convert from unsigned char * to char * without a cast, and the (in theory more portable) style here is to convert char values, not pointer values. (getmonth): Convert char to unsigned char when needed for comparison.
Diffstat (limited to 'gl/lib/di-set.c')
0 files changed, 0 insertions, 0 deletions