summaryrefslogtreecommitdiffstats
path: root/generic/tkBitmap.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-05 22:48:58 (GMT)
committernijtmans <nijtmans>2008-11-05 22:48:58 (GMT)
commit2d48ae8ff78acce1c21210e9e27220ad5e22e877 (patch)
tree01bfd4c701cdce4cf358e8bbc735ae929b1ab2f0 /generic/tkBitmap.c
parent436906415b673fbac6d7ce14621ad07a9a78b4a2 (diff)
downloadtk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.zip
tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.tar.gz
tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.tar.bz2
CONSTify string and fileName parameters of TkGetBitmapData
more internal -Wwrite-string warning fixes
Diffstat (limited to 'generic/tkBitmap.c')
-rw-r--r--generic/tkBitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c
index 8449e2f..bdbde01 100644
--- a/generic/tkBitmap.c
+++ b/generic/tkBitmap.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: tkBitmap.c,v 1.22 2008/10/15 06:41:06 nijtmans Exp $
+ * RCS: @(#) $Id: tkBitmap.c,v 1.23 2008/11/05 22:48:58 nijtmans Exp $
*/
#include "tkInt.h"
@@ -1091,7 +1091,7 @@ TkReadBitmapFile(
{
char *data;
- data = TkGetBitmapData(NULL, NULL, (char *) filename,
+ data = TkGetBitmapData(NULL, NULL, filename,
(int *) width_return, (int *) height_return, x_hot_return,
y_hot_return);
if (data == NULL) {