summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkProgress.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-16 08:31:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-16 08:31:29 (GMT)
commit2d5bd258efa4930673224605e1bd76b0badcef46 (patch)
treea249df3b6ff90ea6cd1083703f722aa401f46627 /generic/ttk/ttkProgress.c
parent48507f96a5df51bf8c2c599ccb132ccb2ea2bf12 (diff)
downloadtk-2d5bd258efa4930673224605e1bd76b0badcef46.zip
tk-2d5bd258efa4930673224605e1bd76b0badcef46.tar.gz
tk-2d5bd258efa4930673224605e1bd76b0badcef46.tar.bz2
Unneeded type-cast
Diffstat (limited to 'generic/ttk/ttkProgress.c')
-rw-r--r--generic/ttk/ttkProgress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkProgress.c b/generic/ttk/ttkProgress.c
index cfffc42..07664ce 100644
--- a/generic/ttk/ttkProgress.c
+++ b/generic/ttk/ttkProgress.c
@@ -74,7 +74,7 @@ static const Tk_OptionSpec ProgressbarOptionSpecs[] =
0, ProgressbarModeStrings, 0 },
{TK_OPTION_STRING_TABLE, "-orient", "orient", "Orient",
"horizontal", offsetof(Progressbar,progress.orientObj), TCL_INDEX_NONE,
- 0, (void *)ttkOrientStrings, STYLE_CHANGED },
+ 0, ttkOrientStrings, STYLE_CHANGED },
{TK_OPTION_INT, "-phase", "phase", "Phase",
"0", offsetof(Progressbar,progress.phaseObj), TCL_INDEX_NONE,
0, 0, 0 },