git @ Cat's Eye Technologies Befunge-93 / c0bf7af
NetBSD: Arg to char predicate must be an int. Go fig. Chris Pressey 7 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
381381 {
382382 for(x = 0; x < SCREENWIDTH; x++)
383383 {
384 if (isprint(cur))
384 if (isprint((int)cur))
385385 {
386386 printf("%c", cur);
387387 }
441441 }
442442 if (stringmode && (cur != '"'))
443443 push (cur);
444 else if (isdigit (cur))
444 else if (isdigit ((int)cur))
445445 push (cur - '0');
446446 else
447447 switch (cur)
773773 #else
774774 printf ("%c[%d;%dH", 27, (int)(y+1), (int)(x+1));
775775 #endif /* CONSOLE */
776 if (isprint (cur)) printf ("%c", cur); else printf(".");
776 if (isprint ((int)cur)) printf ("%c", cur); else printf(".");
777777 }
778778 }
779779 break;
280280 {
281281 push (cur);
282282 } else
283 if (isdigit (cur))
283 if (isdigit ((int)cur))
284284 {
285285 push (cur - '0');
286286 } else