diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-11-16 11:17:26 (GMT) | 
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-11-16 11:17:26 (GMT) | 
| commit | 7ac80cab9e7494b78ed8010a98bd096e83cd5955 (patch) | |
| tree | faf73bb4aa4dbfcaf72742a7e51b568cb341db1c /unix/tclUnixFCmd.c | |
| parent | f14f5f82187f59df377d861dfc7c2e06b3d0c66c (diff) | |
| download | tcl-7ac80cab9e7494b78ed8010a98bd096e83cd5955.zip tcl-7ac80cab9e7494b78ed8010a98bd096e83cd5955.tar.gz tcl-7ac80cab9e7494b78ed8010a98bd096e83cd5955.tar.bz2 | |
Silence some warnings.
Diffstat (limited to 'unix/tclUnixFCmd.c')
| -rw-r--r-- | unix/tclUnixFCmd.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 07bdff9..3e9b6c6 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -10,7 +10,7 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixFCmd.c,v 1.63 2007/10/15 21:27:50 dgp Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.64 2007/11/16 11:17:26 dkf Exp $   *   * Portions of this code were derived from NetBSD source code which has the   * following copyright notice: @@ -1052,7 +1052,7 @@ TraverseUnixTree(      while ((ent = fts_read(fts)) != NULL) {  	unsigned short info = ent->fts_info; -	char * path = ent->fts_path + sourceLen; +	char *path = ent->fts_path + sourceLen;  	unsigned short pathlen = ent->fts_pathlen - sourceLen;  	int type;  	Tcl_StatBuf *statBufPtr = NULL; @@ -1084,7 +1084,7 @@ TraverseUnixTree(  		    break;  		}  	    } else { -		statBufPtr = ent->fts_statp; +		statBufPtr = (Tcl_StatBuf *) ent->fts_statp;  	    }  	}  	result = (*traverseProc)(sourcePtr, targetPtr, statBufPtr, type, | 
