Convert char to unsigned char before using islower/toupper.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 16 Dec 2018 01:11:58 +0000 (01:11 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 16 Dec 2018 01:11:58 +0000 (01:11 +0000)
commita7cabf16c6c579586b3b490556857dfdcda89ae5
treef1794dcf1aa8bcb6ca5367e16be4d38582614b17
parent66f6a88667f1102ab11ecf4ece5cca1e1962265e
Convert char to unsigned char before using islower/toupper.

Failure to do so is undefined behaviour for any negative char values.
src/microcode/findprim.c