diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-15 20:00:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-15 20:00:45 +0000 |
commit | f440b596fc8670be8ea3fb1ec31322a3e4e4b9c7 (patch) | |
tree | e23e013e2e54c1e99ed6597c7b07ab4c8e8e9921 /plugins/Variables/src/parse_system.cpp | |
parent | 623722f7cc4c20d2b7d8df03035801acacda6018 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/parse_system.cpp')
-rw-r--r-- | plugins/Variables/src/parse_system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_system.cpp b/plugins/Variables/src/parse_system.cpp index 026007a10f..69053bba1b 100644 --- a/plugins/Variables/src/parse_system.cpp +++ b/plugins/Variables/src/parse_system.cpp @@ -54,7 +54,7 @@ static TCHAR *parseCpuLoad(ARGUMENTSINFO *ai) { if ( _tcslen(ai->targv[1]) == 0)
szCounter = mir_tstrdup(_T("\\Processor(_Total)\\% Processor Time"));
else {
- int size = _tcslen(ai->targv[1]) + 32;
+ int size = (int)_tcslen(ai->targv[1]) + 32;
szCounter = (TCHAR *)mir_alloc(size * sizeof(TCHAR));
if (szCounter == NULL)
return NULL;
|