diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-29 21:47:31 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-29 21:47:31 +0000 |
commit | 35a4603c6135738a5c9f7729c6bb19f9ce656c8a (patch) | |
tree | 649db4c74654c5968dfba2a3de74c69b4437127d /Rate/main.cpp | |
parent | e750e8644fb332c5cb9cc11a7a7cb6c2778e53e8 (diff) |
another part of small project fixes and x64 adaptation in some cases
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@230 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'Rate/main.cpp')
-rw-r--r-- | Rate/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rate/main.cpp b/Rate/main.cpp index 41c7efa..9810378 100644 --- a/Rate/main.cpp +++ b/Rate/main.cpp @@ -212,7 +212,7 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) update.szComponentName = pluginInfo.shortName;
update.pbVersion = (BYTE *)CreateVersionString(pluginInfo.version, szVersion);
- update.cpbVersion = strlen((char *)update.pbVersion);
+ update.cpbVersion = (int)strlen((char *)update.pbVersion);
update.szUpdateURL = UPDATER_AUTOREGISTER;
@@ -224,7 +224,7 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) update.szBetaVersionURL = "http://kildor.miranda.im/miranda/rate.txt";
update.szBetaChangelogURL = "http://kildor.miranda.im/miranda/rate_changes.txt";
update.pbBetaVersionPrefix = (BYTE *)"Rate ";
- update.cpbBetaVersionPrefix = strlen((char *)update.pbBetaVersionPrefix);
+ update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
}
|