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)
commita48b2119c3a99696d9123b9cd8c0abf1fb39f888 (patch)
tree06a8f93bcc5d7a6ab6a66ff97d59e2b67d7e6ceb /macosx
parent54c80281a0b9198b80b34857ba375a33213c78a4 (diff)
downloadtk-a48b2119c3a99696d9123b9cd8c0abf1fb39f888.zip
tk-a48b2119c3a99696d9123b9cd8c0abf1fb39f888.tar.gz
tk-a48b2119c3a99696d9123b9cd8c0abf1fb39f888.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;