diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-10 10:44:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-10 10:44:04 +0000 |
commit | 8c2cf8fada9a01f749f6f96f177fdb1f590e5393 (patch) | |
tree | e3ad5464a1df2ab255102c477df2360f4aba6778 /protocols/Twitter/main.cpp | |
parent | ddf46f560f63f43aedc6464edad759cc3a711d4b (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/main.cpp')
-rw-r--r-- | protocols/Twitter/main.cpp | 4 |
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);
}
|