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. --- remote-cstms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote-cstms.c') diff --git a/remote-cstms.c b/remote-cstms.c index e90635a..5728a80 100644 --- a/remote-cstms.c +++ b/remote-cstms.c @@ -98,7 +98,7 @@ start_remote_job_p (int first_p) /* Normalize the current directory path name to something that should work on all machines exported to. */ - normalized_cwd = (char *) xmalloc (GET_PATH_MAX); + normalized_cwd = xmalloc (GET_PATH_MAX); strcpy (normalized_cwd, starting_directory); if (Customs_NormPath (normalized_cwd, GET_PATH_MAX) < 0) /* Path normalization failure means using Customs -- cgit v1.2.3