summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2005-05-29 07:00:46 (GMT)
committerdas <das>2005-05-29 07:00:46 (GMT)
commit33d32ec4878523f43393ac96f5adc9f950fa3d4b (patch)
tree05727d9524fa8dbcd64d46198fe766bb708156f9
parentf9f87619c4eefcfbc4d2bc0dec50946acae8b10b (diff)
downloadtk-33d32ec4878523f43393ac96f5adc9f950fa3d4b.zip
tk-33d32ec4878523f43393ac96f5adc9f950fa3d4b.tar.gz
tk-33d32ec4878523f43393ac96f5adc9f950fa3d4b.tar.bz2
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXNotify.c: fixed warnings.
-rw-r--r--ChangeLog3
-rw-r--r--macosx/tkMacOSXInit.c4
-rw-r--r--macosx/tkMacOSXNotify.c4
3 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ce5b2d9..1b25ba6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2005-05-29 Daniel Steffen <das@users.sourceforge.net>
+ * macosx/tkMacOSXInit.c:
+ * macosx/tkMacOSXNotify.c: fixed warnings.
+
* unix/configure.in: skip X11 configure checks when building tk_aqua.
* unix/configure: autoconf-2.13
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index 7f7df86..ad825b4 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.3.2.7 2005/05/26 11:20:09 das Exp $
+ * RCS: @(#) $Id: tkMacOSXInit.c,v 1.3.2.8 2005/05/29 07:00:47 das Exp $
*/
#include "tkInt.h"
@@ -206,7 +206,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 196bfbd..0ecccd2 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.5.2.4 2005/05/14 20:53:31 das Exp $
+ * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.5.2.5 2005/05/29 07:00:47 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. */