summaryrefslogtreecommitdiff
path: root/plugins/NoHistory/src/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NoHistory/src/dllmain.cpp')
-rw-r--r--plugins/NoHistory/src/dllmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NoHistory/src/dllmain.cpp b/plugins/NoHistory/src/dllmain.cpp
index 52fab9f724..d99cc7c129 100644
--- a/plugins/NoHistory/src/dllmain.cpp
+++ b/plugins/NoHistory/src/dllmain.cpp
@@ -212,7 +212,7 @@ int WindowEvent(WPARAM wParam, LPARAM lParam)
int IconPressed(WPARAM hContact, LPARAM lParam)
{
StatusIconClickData *sicd = (StatusIconClickData *)lParam;
- if (sicd->cbSize < (int)sizeof(StatusIconClickData))
+ if (sicd->cbSize < sizeof(StatusIconClickData))
return 0;
if (sicd->flags & MBCF_RIGHTBUTTON) return 0; // ignore right-clicks