From f8840b16acaa5cb11a4440ea62a96731a24f4d6e Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Tue, 31 Mar 2009 05:16:22 +0000 Subject: x64 port git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@448 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/str_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yapp/str_utils.cpp') diff --git a/yapp/str_utils.cpp b/yapp/str_utils.cpp index d9e3575..c2636ac 100644 --- a/yapp/str_utils.cpp +++ b/yapp/str_utils.cpp @@ -203,7 +203,7 @@ char *t2u(const TCHAR *ts) { } void trimW(wchar_t *str) { - int len = wcslen(str), pos; + int len = (int)wcslen(str), pos; // trim whitespace (e.g. from OTR detection) for(pos = len - 1; pos >= 0; pos--) { if(str[pos] == L' ' || str[pos] == L'\t' || str[pos] == L'\r' || str[pos] == L'\n') str[pos] = 0; @@ -216,7 +216,7 @@ void trimW(wchar_t *str) { } void trimA(char *str) { - int len = strlen(str), pos; + int len = (int)strlen(str), pos; // trim whitespace (e.g. from OTR detection) for(pos = len - 1; pos >= 0; pos--) { if(str[pos] == ' ' || str[pos] == '\t' || str[pos] == '\r' || str[pos] == '\n') str[pos] = 0; -- cgit v1.2.3