After incrementing an unsigned char value, don't cast it back to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 17 Jun 2009 17:27:53 +0000 (17:27 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 17 Jun 2009 17:27:53 +0000 (17:27 +0000)
commit2f23825bf6ba960e29d710dd9b83ec6973166ea7
treed6f3858cd26f121fc73772f9612fc1138b632007
parent4a9c130ca2f20c08128be223fbc6f93aa530c98b
After incrementing an unsigned char value, don't cast it back to
unsigned char if you want to preserve its ordering! Fixes a bug
whereby an 0xFF character in a filename could trigger an assertion
failure (since du.c would sort the directory contents correctly but
trie.c would then expect it to be sorted wrong).

git-svn-id: svn://svn.tartarus.org/sgt/agedu@8595 cda61777-01e9-0310-a592-d414129be87e
trie.c