diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2008-10-26 18:50:06 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2008-10-26 18:50:06 (GMT) |
| commit | e97ac6b8f8ef9eaff86bd78840ce75f19d3e371d (patch) | |
| tree | 201f73f6c66bc300b91aba83104d61fb9b406bed /macosx/tclMacOSXFCmd.c | |
| parent | 8a610f15b701ab08fca6becf78696072369b355c (diff) | |
| download | tcl-e97ac6b8f8ef9eaff86bd78840ce75f19d3e371d.zip tcl-e97ac6b8f8ef9eaff86bd78840ce75f19d3e371d.tar.gz tcl-e97ac6b8f8ef9eaff86bd78840ce75f19d3e371d.tar.bz2 | |
Style improvements - invoking callbacks without visual junk.
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)); |
