summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordas <das@noemail.net>2008-05-23 22:18:27 (GMT)
committerdas <das@noemail.net>2008-05-23 22:18:27 (GMT)
commit1fc7c142eddbc3df980861db994d5b01534cb99b (patch)
treec86453f25198bcc39b5ff160454dae33f05b113b /generic/ttk
parent387ee11038a5bd4faec2cd5e7e9b99cb164a5782 (diff)
downloadtk-1fc7c142eddbc3df980861db994d5b01534cb99b.zip
tk-1fc7c142eddbc3df980861db994d5b01534cb99b.tar.gz
tk-1fc7c142eddbc3df980861db994d5b01534cb99b.tar.bz2
fix warning
FossilOrigin-Name: 19bdbffe1991dcde05744004cd2ad06718c4b763
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkTreeview.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c
index ffe1351..adf1559 100644
--- a/generic/ttk/ttkTreeview.c
+++ b/generic/ttk/ttkTreeview.c
@@ -1,4 +1,4 @@
-/* $Id: ttkTreeview.c,v 1.25 2008/05/23 20:20:05 jenglish Exp $
+/* $Id: ttkTreeview.c,v 1.26 2008/05/23 22:18:27 das Exp $
* Copyright (c) 2004, Joe English
*
* ttk::treeview widget implementation.
@@ -1137,7 +1137,8 @@ static int ConfigureItem(
Ttk_TagSet newTagSet = NULL;
if (Tk_SetOptions(interp, (ClientData)item, tv->tree.itemOptionTable,
- objc, objv, tv->core.tkwin,&savedOptions,&mask) != TCL_OK)
+ objc, objv, tv->core.tkwin, &savedOptions, (int*) &mask)
+ != TCL_OK)
{
return TCL_ERROR;
}