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

@@ -719,7 +719,7 @@ get_text(formals, length)
blank = 0;
}
*length = repl->r_ptr - repl->r_text;
return Realloc(repl->r_text, repl->r_ptr - repl->r_text + 1);
return Realloc(repl->r_text, (unsigned)(repl->r_ptr - repl->r_text +1));
}
/* macroeq() decides whether two macro replacement texts are