summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-09-21 21:22:08 (GMT)
committerhobbs <hobbs@noemail.net>2001-09-21 21:22:08 (GMT)
commitf4b8c38d43dfcd6b6dec24e386d5ea20ce06eeda (patch)
treeb0d40c034e2fdb8dad84eb2c40d95cf2b69094d6 /mac
parent1c493a8df98ea2d2f4697a2fc5b6727fe6a96b49 (diff)
downloadtk-f4b8c38d43dfcd6b6dec24e386d5ea20ce06eeda.zip
tk-f4b8c38d43dfcd6b6dec24e386d5ea20ce06eeda.tar.gz
tk-f4b8c38d43dfcd6b6dec24e386d5ea20ce06eeda.tar.bz2
* unix/tkUnixPort.h:
* mac/tkMacPort.h: add (int*) cast to TkpScanWindowId. These may need to be changed to Window* (ulong). FossilOrigin-Name: ef4a8abbe6652eed1007a80fb655b24b9f983cbc
Diffstat (limited to 'mac')
-rw-r--r--mac/tkMacPort.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/mac/tkMacPort.h b/mac/tkMacPort.h
index 98f0f74..027fa06 100644
--- a/mac/tkMacPort.h
+++ b/mac/tkMacPort.h
@@ -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: tkMacPort.h,v 1.9 2000/04/17 02:17:05 jingham Exp $
+ * RCS: @(#) $Id: tkMacPort.h,v 1.10 2001/09/21 21:22:09 hobbs Exp $
*/
#ifndef _TKMACPORT
@@ -120,17 +120,18 @@ extern int strncasecmp _ANSI_ARGS_((CONST char *s1,
/*
* This macro stores a representation of the window handle in a string.
+ * This should perhaps use the real size of an XID.
*/
#define TkpPrintWindowId(buf,w) \
sprintf((buf), "0x%x", (unsigned int) (w))
-
+
/*
* TkpScanWindowId is just an alias for Tcl_GetInt on Unix.
*/
#define TkpScanWindowId(i,s,wp) \
- Tcl_GetInt((i),(s),(wp))
+ Tcl_GetInt((i),(s),(int *)(wp))
/*
* Magic pixel values for dynamic (or active) colors.