diff options
Diffstat (limited to 'macosx/tclMacOSXFCmd.c')
-rw-r--r-- | macosx/tclMacOSXFCmd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c index 31245f1..c902a28 100644 --- a/macosx/tclMacOSXFCmd.c +++ b/macosx/tclMacOSXFCmd.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMacOSXFCmd.c,v 1.14 2008/10/16 22:34:19 nijtmans Exp $ + * RCS: @(#) $Id: tclMacOSXFCmd.c,v 1.15 2008/10/26 18:50:06 dkf Exp $ */ #include "tclInt.h" @@ -132,8 +132,8 @@ TclMacOSXGetFileAttribute( Tcl_StatBuf statBuf; struct attrlist alist; fileinfobuf finfo; - finderinfo *finder = (finderinfo*)(&finfo.data); - off_t *rsrcForkSize = (off_t*)(&finfo.data); + finderinfo *finder = (finderinfo *) &finfo.data; + off_t *rsrcForkSize = (off_t *) &finfo.data; const char *native; result = TclpObjStat(fileName, &statBuf); @@ -224,8 +224,8 @@ TclMacOSXSetFileAttribute( Tcl_StatBuf statBuf; struct attrlist alist; fileinfobuf finfo; - finderinfo *finder = (finderinfo*)(&finfo.data); - off_t *rsrcForkSize = (off_t*)(&finfo.data); + finderinfo *finder = (finderinfo *) &finfo.data; + off_t *rsrcForkSize = (off_t *) &finfo.data; const char *native; result = TclpObjStat(fileName, &statBuf); @@ -405,7 +405,7 @@ TclMacOSXCopyFileAttributes( #ifdef HAVE_GETATTRLIST struct attrlist alist; fileinfobuf finfo; - off_t *rsrcForkSize = (off_t*)(&finfo.data); + off_t *rsrcForkSize = (off_t *) &finfo.data; bzero(&alist, sizeof(struct attrlist)); alist.bitmapcount = ATTR_BIT_MAP_COUNT; @@ -497,7 +497,7 @@ TclMacOSXMatchType( #ifdef HAVE_GETATTRLIST struct attrlist alist; fileinfobuf finfo; - finderinfo *finder = (finderinfo*)(&finfo.data); + finderinfo *finder = (finderinfo *) &finfo.data; OSType osType; bzero(&alist, sizeof(struct attrlist)); |