summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IgnoreState/src')
-rw-r--r--plugins/IgnoreState/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IgnoreState/src/options.cpp b/plugins/IgnoreState/src/options.cpp
index bf8d5032ef..c22e2df46c 100644
--- a/plugins/IgnoreState/src/options.cpp
+++ b/plugins/IgnoreState/src/options.cpp
@@ -47,7 +47,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
tvis.hParent = NULL;
tvis.hInsertAfter = TVI_LAST;
tvis.item.mask = TVIF_PARAM | TVIF_TEXT | TVIF_IMAGE | TVIF_SELECTEDIMAGE | TVIF_STATE;
- tvis.item.lParam = (LPARAM)(ii[i].type);
+ tvis.item.lParam = ii[i].type;
tvis.item.pszText = TranslateTS(ii[i].name);
tvis.item.iImage = tvis.item.iSelectedImage = index;
HTREEITEM hti = TreeView_InsertItem(hTree, &tvis);