From 42fb5feae0f957cf3a2e39a486db41d78a42b3a2 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 6 Jun 2015 22:55:12 +0100 Subject: [PATCH] sh: remove Rcheat from args.c --- Applications/V7/cmd/sh/args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/V7/cmd/sh/args.c b/Applications/V7/cmd/sh/args.c index 895c069b..04592bf0 100644 --- a/Applications/V7/cmd/sh/args.c +++ b/Applications/V7/cmd/sh/args.c @@ -80,7 +80,7 @@ void setargs(const char *argi[]) register const char **argp = argi; register int argn = 0; - while (Rcheat(*argp++) != ENDARGS) + while (((intptr_t)(*argp++)) != ENDARGS) argn++; /* free old ones unless on for loop chain */ @@ -99,7 +99,7 @@ DOLPTR freeargs(DOLPTR blk) argr = argblk->dolnxt; if ((--argblk->doluse) == 0) { for (argp = (char **) argblk->dolarg; - Rcheat(*argp) != ENDARGS; argp++) { + ((intptr_t)(*argp)) != ENDARGS; argp++) { sh_free(*argp); } sh_free(argblk); -- 2.34.1