summaryrefslogtreecommitdiffstats
path: root/win/tkWinTest.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-03 22:44:22 (GMT)
committernijtmans <nijtmans>2008-11-03 22:44:22 (GMT)
commitf06df1b8e04eeb7f767e691d06ba1ed9b8b2bf7b (patch)
tree52b11af65a54f678d5b1182bf61fc7a2e48acfb4 /win/tkWinTest.c
parent2064e0bf0c5c07805a7318c586066a84a794006d (diff)
downloadtk-f06df1b8e04eeb7f767e691d06ba1ed9b8b2bf7b.zip
tk-f06df1b8e04eeb7f767e691d06ba1ed9b8b2bf7b.tar.gz
tk-f06df1b8e04eeb7f767e691d06ba1ed9b8b2bf7b.tar.bz2
tkWinTest.c: fix warning: assignment discards qualifiers from pointer target type
Diffstat (limited to 'win/tkWinTest.c')
-rw-r--r--win/tkWinTest.c4
1 files changed, 2 insertions, 2 deletions
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;