cast ptrdiff_t to int for ANSI

This commit is contained in:
eck
1990-04-25 15:10:13 +00:00
parent dc12b2fa3d
commit 7987a1fed8
5 changed files with 12 additions and 13 deletions

View File

@@ -252,7 +252,7 @@ garbage:
ptok->tk_val = (arith)0;
return ptok->tk_symb = INTEGER;
}
ptok->tk_str = Malloc(tg - buf);
ptok->tk_str = Malloc((unsigned)(tg - buf));
strcpy(ptok->tk_str, buf);
return IDENTIFIER;
}