diff options
author | dkf <dkf@noemail.net> | 2008-10-26 18:50:05 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2008-10-26 18:50:05 (GMT) |
commit | 458353395a77fe0826e7431a3ca128bef1c8de8d (patch) | |
tree | 201f73f6c66bc300b91aba83104d61fb9b406bed /macosx/tclMacOSXFCmd.c | |
parent | a7f4994a82b51ba52af159f6032fc29a50a3fe40 (diff) | |
download | tcl-458353395a77fe0826e7431a3ca128bef1c8de8d.zip tcl-458353395a77fe0826e7431a3ca128bef1c8de8d.tar.gz tcl-458353395a77fe0826e7431a3ca128bef1c8de8d.tar.bz2 |
Style improvements - invoking callbacks without visual junk.
FossilOrigin-Name: 4a9936c5ad1d87566ffbf3129c047869ad673226
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)); |