summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-09-21 21:34:10 (GMT)
committerhobbs <hobbs>2001-09-21 21:34:10 (GMT)
commitfedaff5580d9859d49121b31d6662e1b090a963d (patch)
tree583cc81aad13aec41709aa168d6716a5ab8c4b0a /generic/tkWindow.c
parentebe5605fedb0e68151418ad5184fd3792286f897 (diff)
downloadtk-fedaff5580d9859d49121b31d6662e1b090a963d.zip
tk-fedaff5580d9859d49121b31d6662e1b090a963d.tar.gz
tk-fedaff5580d9859d49121b31d6662e1b090a963d.tar.bz2
minor cast fixes to prevent 64bit warnings
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 6869980..3a9f911 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.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: tkWindow.c,v 1.35 2001/08/21 20:21:36 pspjuth Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.36 2001/09/21 21:34:10 hobbs Exp $
*/
#include "tkPort.h"
@@ -1121,7 +1121,7 @@ Tk_CreateWindowFromPath(interp, tkwin, pathName, screenName)
"\"", (char *) NULL);
return NULL;
}
- numChars = p-pathName;
+ numChars = (int) (p-pathName);
if (numChars > FIXED_SPACE) {
p = (char *) ckalloc((unsigned) (numChars+1));
} else {