diff options
author | das <das> | 2005-05-29 07:00:26 (GMT) |
---|---|---|
committer | das <das> | 2005-05-29 07:00:26 (GMT) |
commit | 8734866e2b78fe9f8145d6d040fe607b41f6853f (patch) | |
tree | 58fcfacc4aef120a337ad6f9ff801c66df4dafe0 | |
parent | e61ef2966a0632ac4bcbee02a7de3f755d4ff9bb (diff) | |
download | tk-8734866e2b78fe9f8145d6d040fe607b41f6853f.zip tk-8734866e2b78fe9f8145d6d040fe607b41f6853f.tar.gz tk-8734866e2b78fe9f8145d6d040fe607b41f6853f.tar.bz2 |
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXNotify.c: fixed warnings.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | macosx/tkMacOSXInit.c | 4 | ||||
-rw-r--r-- | macosx/tkMacOSXNotify.c | 4 |
3 files changed, 7 insertions, 4 deletions
@@ -1,5 +1,8 @@ 2005-05-29 Daniel Steffen <das@users.sourceforge.net> + * macosx/tkMacOSXInit.c: + * macosx/tkMacOSXNotify.c: fixed warnings. + * generic/tkDecls.h: * generic/tkIntPlatDecls.h: * generic/tkPlatDecls.h: 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) { diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c index 8c9a4e4..cf095b8 100644 --- a/macosx/tkMacOSXNotify.c +++ b/macosx/tkMacOSXNotify.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.11 2005/05/14 20:48:15 das Exp $ + * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.12 2005/05/29 07:00:26 das Exp $ */ #include "tclInt.h" @@ -63,7 +63,7 @@ Tk_MacOSXSetupTkNotifier() * the main thread. Calling GetMainEventQueue will force this to * happen. */ - EventQueueRef mainEventQueue = GetMainEventQueue(); + GetMainEventQueue(); tsdPtr->initialized = 1; /* Install Carbon events event source in main event loop thread. */ |