diff options
author | nijtmans <nijtmans> | 2010-06-21 11:23:23 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-06-21 11:23:23 (GMT) |
commit | 7904f2c09aac76e42beaba3829d4e0bc702b5828 (patch) | |
tree | 42f60b267df843560dce3dc715050416409a7ed3 /unix/tclUnixFile.c | |
parent | b959e69e2efe23f4904f8ebcb2c6638af32aeb4a (diff) | |
download | tcl-7904f2c09aac76e42beaba3829d4e0bc702b5828.zip tcl-7904f2c09aac76e42beaba3829d4e0bc702b5828.tar.gz tcl-7904f2c09aac76e42beaba3829d4e0bc702b5828.tar.bz2 |
Eliminate various unnecessary type casts, use function typedefs whenever possible
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r-- | unix/tclUnixFile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index d6cf239..1ab92f3 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -6,10 +6,10 @@ * * Copyright (c) 1995-1998 Sun Microsystems, Inc. * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. + * See the file "license.terms" for information on usage and redistribution + * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixFile.c,v 1.57 2010/04/22 11:40:32 nijtmans Exp $ + * RCS: @(#) $Id: tclUnixFile.c,v 1.58 2010/06/21 11:23:23 nijtmans Exp $ */ #include "tclInt.h" @@ -710,7 +710,7 @@ TclpGetNativeCwd( char *newCd = ckalloc((unsigned) strlen(buffer) + 1); strcpy(newCd, buffer); - return (ClientData) newCd; + return newCd; } /* |