diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-29 16:23:03 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-29 16:23:03 +0000 |
commit | e750e8644fb332c5cb9cc11a7a7cb6c2778e53e8 (patch) | |
tree | 395848b08150ea7d8e6278f4294d52c5f785b2e5 /IEView/Template.cpp | |
parent | ea0738678d7d729b6bbd1c9c37d3914fcc7df0d9 (diff) |
another part of small project fixes and x64 adaptation in some cases
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@229 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'IEView/Template.cpp')
-rw-r--r-- | IEView/Template.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IEView/Template.cpp b/IEView/Template.cpp index 9bc88e6..23e9a9c 100644 --- a/IEView/Template.cpp +++ b/IEView/Template.cpp @@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TokenDef::TokenDef(const char *tokenString) {
this->tokenString = tokenString;
- this->tokenLen = strlen(tokenString);
+ this->tokenLen = (int)strlen(tokenString);
this->token = 0;
this->escape = 0;
}
@@ -31,7 +31,7 @@ TokenDef::TokenDef(const char *tokenString) { TokenDef::TokenDef(const char *tokenString, int token, int escape) {
this->tokenString = tokenString;
this->token = token;
- this->tokenLen = strlen(tokenString);
+ this->tokenLen = (int)strlen(tokenString);
this->escape = escape;
}
@@ -159,7 +159,7 @@ void Template::tokenize() { Token *lastToken = NULL;
int lastTokenType = Token::PLAIN;
int lastTokenEscape = 0;
- int l = strlen(str);
+ int l = (int)strlen(str);
for (int i=0, lastTokenStart=0; i<=l;) {
Token *newToken;
int newTokenType = 0, newTokenSize = 0, newTokenEscape = 0;
|