summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_mime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/src/msn_mime.cpp')
-rw-r--r--protocols/MSN/src/msn_mime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_mime.cpp b/protocols/MSN/src/msn_mime.cpp
index 1b5651794d..7be06009a9 100644
--- a/protocols/MSN/src/msn_mime.cpp
+++ b/protocols/MSN/src/msn_mime.cpp
@@ -339,7 +339,7 @@ static const struct _tag_cpltbl
static unsigned FindCP(const char* mimecp)
{
unsigned cp = CP_ACP;
- for (unsigned i = 0; i < SIZEOF(cptbl); ++i) {
+ for (unsigned i = 0; i < _countof(cptbl); ++i) {
if (_stricmp(mimecp, cptbl[i].mimecp) == 0) {
cp = cptbl[i].cp;
break;