first arg to putc must be int or char, not long
authorceriel <none@none>
Tue, 1 Sep 1987 18:31:42 +0000 (18:31 +0000)
committerceriel <none@none>
Tue, 1 Sep 1987 18:31:42 +0000 (18:31 +0000)
mach/proto/as/comm5.c

index d9bf59a..60b65f6 100644 (file)
@@ -93,7 +93,7 @@ putval(c)
                putc(c-128, tempfile);
                v = yylval.y_valu;
                while (--n >= 0)
-                       putc(v >> (n*8), tempfile);
+                       putc((int) (v >> (n*8)), tempfile);
                return;
        case IDENT:
        case FBSYM: