summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInit.c
diff options
context:
space:
mode:
authordas <das>2005-05-29 07:00:26 (GMT)
committerdas <das>2005-05-29 07:00:26 (GMT)
commit8734866e2b78fe9f8145d6d040fe607b41f6853f (patch)
tree58fcfacc4aef120a337ad6f9ff801c66df4dafe0 /macosx/tkMacOSXInit.c
parente61ef2966a0632ac4bcbee02a7de3f755d4ff9bb (diff)
downloadtk-8734866e2b78fe9f8145d6d040fe607b41f6853f.zip
tk-8734866e2b78fe9f8145d6d040fe607b41f6853f.tar.gz
tk-8734866e2b78fe9f8145d6d040fe607b41f6853f.tar.bz2
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXNotify.c: fixed warnings.
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r--macosx/tkMacOSXInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index b604317..41c3552 100644
--- a/macosx/tkMacOSXInit.c
+++ b/macosx/tkMacOSXInit.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: tkMacOSXInit.c,v 1.12 2005/05/26 11:19:01 das Exp $
+ * RCS: @(#) $Id: tkMacOSXInit.c,v 1.13 2005/05/29 07:00:26 das Exp $
*/
#include "tkInt.h"
@@ -207,7 +207,7 @@ TkpInit(interp)
err = FSPathMakeRef(fileName, &ref, NULL);
if (err != noErr) break;
err = FSOpenResourceFile(&ref, 0, NULL, fsRdPerm, &refNum);
- if (err != noErr) fprintf(stderr,"FSOpenResourceFile error %d\n",err);
+ if (err != noErr) fprintf(stderr,"FSOpenResourceFile error %ld\n",err);
break;
}
if (fd != -1) {