summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--win/tkWinTest.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 66d61b8..80f049f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,7 @@
* generic/ttk/ttkEntry.c: fix warning: unused variable `currentValue'
* generic/tkOldTest.c: fix warning: assignment discards qualifiers
- from pointer target type
+ * win/tkWinTest.c: from pointer target type
2008-11-03 Pat Thoyts <patthoyts@users.sourceforge.net>
diff --git a/win/tkWinTest.c b/win/tkWinTest.c
index 0882dc8..4b9480f 100644
--- a/win/tkWinTest.c
+++ b/win/tkWinTest.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: tkWinTest.c,v 1.19 2008/10/28 22:33:07 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinTest.c,v 1.20 2008/11/03 22:44:22 nijtmans Exp $
*/
#include "tkWinInt.h"
@@ -123,7 +123,7 @@ AppendSystemError(
}
if (length == 0) {
if (error == ERROR_CALL_NOT_IMPLEMENTED) {
- msg = "function not supported under Win32s";
+ msg = (char *)"function not supported under Win32s";
} else {
sprintf(msgBuf, "unknown error: %ld", error);
msg = msgBuf;