cast ptrdiff_t to int for ANSI

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

View File

@@ -45,7 +45,7 @@ replace(idf)
if (!expand_macro(repl, idf))
return 0;
InputLevel++;
InsertText(repl->r_text, repl->r_ptr - repl->r_text);
InsertText(repl->r_text, (int)(repl->r_ptr - repl->r_text));
idf->id_macro->mc_flag |= NOREPLACE;
repl->r_level = InputLevel;
repl->next = ReplaceList;