summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--unix/tkUnixWm.c7
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 76022e5..0ec1f8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-19 Joe English <jenglish@users.sourceforge.net>
+
+ * unix/tkUnixWm.c: Cast argument 7 of XChangeProperty to
+ 'const unsigned char *' (from 'const char *') to satisfy
+ Solaris 8 Forte C compiler [Bug #1012325]
+
2004-08-19 Don Porter <dgp@users.sourceforge.net>
* tests/safe.test (safe-1.3): Made test less sensitve to the
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index ffd00f9..012f713 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixWm.c,v 1.44 2004/08/10 18:16:00 jenglish Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.45 2004/08/19 19:39:33 jenglish Exp $
*/
#include "tkPort.h"
@@ -4321,7 +4321,7 @@ UpdateTitle(winPtr)
XChangeProperty(winPtr->display, wmPtr->wrapperPtr->window,
Tk_InternAtom((Tk_Window) winPtr, "_NET_WM_NAME"),
XA_UTF8_STRING, 8, PropModeReplace,
- string, (signed int)strlen(string));
+ (const unsigned char*)string, (signed int)strlen(string));
/*
* Set icon name:
@@ -4335,7 +4335,8 @@ UpdateTitle(winPtr)
XChangeProperty(winPtr->display, wmPtr->wrapperPtr->window,
Tk_InternAtom((Tk_Window) winPtr, "_NET_WM_ICON_NAME"),
XA_UTF8_STRING, 8, PropModeReplace,
- wmPtr->iconName, (signed int)strlen(wmPtr->iconName));
+ (const unsigned char*)wmPtr->iconName,
+ (signed int)strlen(wmPtr->iconName));
}
}