summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-02-27 23:23:35 (GMT)
committernijtmans <nijtmans>2009-02-27 23:23:35 (GMT)
commit2bd24991fb1306a2a230549895084b7424845fbe (patch)
tree06a8f93bcc5d7a6ab6a66ff97d59e2b67d7e6ceb /macosx
parent0aa2082226c7156d97ae4a66c508d1fd6ee421c4 (diff)
downloadtk-2bd24991fb1306a2a230549895084b7424845fbe.zip
tk-2bd24991fb1306a2a230549895084b7424845fbe.tar.gz
tk-2bd24991fb1306a2a230549895084b7424845fbe.tar.bz2
[Feature Request 2636558] Tk_DefineBitmap
and Tk_GetBitmapFromData signature problem
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXBitmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXBitmap.c b/macosx/tkMacOSXBitmap.c
index 74dadbd..82771d4 100644
--- a/macosx/tkMacOSXBitmap.c
+++ b/macosx/tkMacOSXBitmap.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: tkMacOSXBitmap.c,v 1.8 2008/04/27 22:39:12 dkf Exp $
+ * RCS: @(#) $Id: tkMacOSXBitmap.c,v 1.9 2009/02/27 23:23:36 nijtmans Exp $
*/
#include "tkMacOSXInt.h"
@@ -107,7 +107,7 @@ TkpDefineNativeBitmaps(void)
nativeIconPtr->id = builtInPtr->id;
nativeIconPtr->type = builtInPtr->type;
- predefPtr->source = (char *) nativeIconPtr;
+ predefPtr->source = nativeIconPtr;
predefPtr->width = builtInPtr->size;
predefPtr->height = builtInPtr->size;
predefPtr->native = 1;
@@ -137,7 +137,7 @@ TkpDefineNativeBitmaps(void)
Pixmap
TkpCreateNativeBitmap(
Display *display,
- const char *source) /* Info about the icon to build. */
+ const void *source) /* Info about the icon to build. */
{
Pixmap pix;
Rect destRect;