summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src/main.cpp')
-rw-r--r--protocols/Twitter/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/main.cpp b/protocols/Twitter/src/main.cpp
index 58bc371096..4a36d4412b 100644
--- a/protocols/Twitter/src/main.cpp
+++ b/protocols/Twitter/src/main.cpp
@@ -110,7 +110,7 @@ extern "C" int __declspec(dllexport) Load(void)
extern "C" int __declspec(dllexport) Unload(void)
{
UninitContactMenus();
- for (size_t i = 1; i < SIZEOF(g_hEvents); i++)
+ for (size_t i = 1; i < _countof(g_hEvents); i++)
UnhookEvent(g_hEvents[i]);
return 0;