diff options
author | hobbs <hobbs> | 2002-04-08 22:03:42 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-04-08 22:03:42 (GMT) |
commit | ff8cdcf19fab325e77e99eb350bcc9e81ccf7f07 (patch) | |
tree | 9da9f277f384663d7e4deff9f7ae896e3b4e280d | |
parent | e7fcb44797d1a3c8687c4084a0fc9e5fdc93aee6 (diff) | |
download | tk-ff8cdcf19fab325e77e99eb350bcc9e81ccf7f07.zip tk-ff8cdcf19fab325e77e99eb350bcc9e81ccf7f07.tar.gz tk-ff8cdcf19fab325e77e99eb350bcc9e81ccf7f07.tar.bz2 |
TkpScanWindowId: added (char *) cast to Tcl_GetInt to prevent build warning
-rw-r--r-- | win/tkWinWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinWindow.c b/win/tkWinWindow.c index 0c18faf..e6397f6 100644 --- a/win/tkWinWindow.c +++ b/win/tkWinWindow.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWindow.c,v 1.5.12.2 2001/10/13 01:25:10 hobbs Exp $ + * RCS: @(#) $Id: tkWinWindow.c,v 1.5.12.3 2002/04/08 22:03:42 hobbs Exp $ */ #include "tkWinInt.h" @@ -219,7 +219,7 @@ TkpScanWindowId(interp, string, idPtr) #ifdef _WIN64 (sscanf(string, "0x%p", &number) != 1) && #endif - Tcl_GetInt(interp, string, (int *)&number) != TCL_OK) { + Tcl_GetInt(interp, (char *) string, (int *)&number) != TCL_OK) { return TCL_ERROR; } |