summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordas <das>2008-05-23 22:18:27 (GMT)
committerdas <das>2008-05-23 22:18:27 (GMT)
commit52acde6cd7b9c4bf080adb98afcc37c7dcf2baa7 (patch)
treec86453f25198bcc39b5ff160454dae33f05b113b /generic/ttk
parentee1814c0cdbcfe9807b18e2b2732c299789897a3 (diff)
downloadtk-52acde6cd7b9c4bf080adb98afcc37c7dcf2baa7.zip
tk-52acde6cd7b9c4bf080adb98afcc37c7dcf2baa7.tar.gz
tk-52acde6cd7b9c4bf080adb98afcc37c7dcf2baa7.tar.bz2
fix warning
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;
}