summaryrefslogtreecommitdiff
path: root/protocols/Twitter/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/main.cpp')
-rw-r--r--protocols/Twitter/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/main.cpp b/protocols/Twitter/main.cpp
index be8eff5ce5..077b54a0fa 100644
--- a/protocols/Twitter/main.cpp
+++ b/protocols/Twitter/main.cpp
@@ -108,7 +108,7 @@ int OnModulesLoaded(WPARAM,LPARAM)
upd.szBetaVersionURL = "http://twosx.net/mim/twitter/updater/version.html";
upd.szBetaChangelogURL = "http://twosx.net/mim/twitter/updater/changelog.html";
upd.pbBetaVersionPrefix = reinterpret_cast<BYTE*>("Twitter ");
- upd.cpbBetaVersionPrefix = strlen(reinterpret_cast<char*>(upd.pbBetaVersionPrefix));
+ upd.cpbBetaVersionPrefix = (int)strlen(reinterpret_cast<char*>(upd.pbBetaVersionPrefix));
#ifdef UNICODE
upd.szBetaUpdateURL = "http://twosx.net/mim/twitter/updater/twitter.zip";
#else
@@ -117,7 +117,7 @@ int OnModulesLoaded(WPARAM,LPARAM)
upd.pbVersion = reinterpret_cast<BYTE*>( CreateVersionStringPlugin(
reinterpret_cast<PLUGININFO*>(&pluginInfo),curr_version) );
- upd.cpbVersion = strlen(reinterpret_cast<char*>(upd.pbVersion));
+ upd.cpbVersion = (int)strlen(reinterpret_cast<char*>(upd.pbVersion));
CallService(MS_UPDATE_REGISTER,0,(LPARAM)&upd);
}