From c25294ad3ba1252a0d77bf63a27758a0eee4259e Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 9 Apr 2006 22:09:24 +0000 Subject: Another round of cleanups: - Add more warnings. - Rename variables that mask out-scope vars with the same name. - Remove all casts of return values from xmalloc, xrealloc, and alloca. - Remove casts of the first argument to xrealloc. - Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp. --- vmsify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vmsify.c') diff --git a/vmsify.c b/vmsify.c index ac82942..d9f7df4 100644 --- a/vmsify.c +++ b/vmsify.c @@ -134,7 +134,7 @@ trnlog (char *name) } reslt[resltlen] = '\0'; - s = (char *)malloc (resltlen+1); + s = malloc (resltlen+1); if (s == 0) return ""; strcpy (s, reslt); -- cgit v1.2.3