--- hatari/src/uae-cpu/build68k.c 2019/04/01 07:13:13 1.1.1.4 +++ hatari/src/uae-cpu/build68k.c 2019/04/01 07:13:48 1.1.1.5 @@ -10,7 +10,7 @@ * This file is distributed under the GNU Public License, version 2 or at * your option any later version. Read the file gpl.txt for details. */ -const char Build68k_rcsid[] = "Hatari $Id: build68k.c,v 1.1.1.4 2019/04/01 07:13:13 root Exp $"; +const char Build68k_rcsid[] = "Hatari $Id: build68k.c,v 1.1.1.5 2019/04/01 07:13:48 root Exp $"; #include #include @@ -218,12 +218,12 @@ int main(int argc, char **argv) char *opstrp = opcstr, *osendp; int slen = 0; - while (isspace(*opstrp)) + while (isspace((unsigned)(*opstrp))) opstrp++; osendp = opstrp; while (*osendp) { - if (!isspace (*osendp)) + if (!isspace ((unsigned)(*osendp))) slen = osendp - opstrp + 1; osendp++; }