summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-10-17 19:15:39 (GMT)
committerhobbs <hobbs>2001-10-17 19:15:39 (GMT)
commite2f5cc722cc62dee3d22c9fd0f4f864f490292ca (patch)
tree67ee87c4ebf89f01a6f77c2c9cc6c364ecfeddf9 /unix
parent8275f7b7f4b9da37906f718e2feb12d3f3a7ec78 (diff)
downloadtk-e2f5cc722cc62dee3d22c9fd0f4f864f490292ca.zip
tk-e2f5cc722cc62dee3d22c9fd0f4f864f490292ca.tar.gz
tk-e2f5cc722cc62dee3d22c9fd0f4f864f490292ca.tar.bz2
* unix/tkUnixXId.c (TkpScanWindowId): added specific char* cast to
prevent warning. 'string' is not modified in any case.
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixXId.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixXId.c b/unix/tkUnixXId.c
index d818c87..9ae9070 100644
--- a/unix/tkUnixXId.c
+++ b/unix/tkUnixXId.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixXId.c,v 1.5.12.1 2001/10/13 01:25:10 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixXId.c,v 1.5.12.2 2001/10/17 19:15:39 hobbs Exp $
*/
/*
@@ -561,7 +561,7 @@ TkpScanWindowId(interp, string, idPtr)
Window *idPtr;
{
int value;
- if (Tcl_GetInt(interp, string, &value) != TCL_OK) {
+ if (Tcl_GetInt(interp, (char *) string, &value) != TCL_OK) {
return TCL_ERROR;
}
*idPtr = (Window) value;