summaryrefslogtreecommitdiff
path: root/plugins/Variables/parse_math.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-30 19:34:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-30 19:34:50 +0000
commit190b98cf90600fc0e98543ee87d772560547acca (patch)
tree8b32108b311515eb63f5292c2ec9efe50ffcfd9f /plugins/Variables/parse_math.cpp
parentca7197e8812b188a99fc72b524f936e06e08327a (diff)
"Variables are inexhaustible like an atom" (c) V.Lenin
git-svn-id: http://svn.miranda-ng.org/main/trunk@704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/parse_math.cpp')
-rw-r--r--plugins/Variables/parse_math.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/parse_math.cpp b/plugins/Variables/parse_math.cpp
index 9fefb30ee4..c214898b5d 100644
--- a/plugins/Variables/parse_math.cpp
+++ b/plugins/Variables/parse_math.cpp
@@ -64,7 +64,7 @@ static TCHAR *parseHex(ARGUMENTSINFO *ai) {
padding = ttoi(ai->targv[2]);
mir_sntprintf(szVal, SIZEOF(szVal), _T("%x"), val);
zeros = max(padding - (signed int)_tcslen(szVal), 0);
- res = ( TCHAR* )mir_alloc((zeros + _tcslen(szVal) + 3)*sizeof(TCHAR));
+ res = (TCHAR*)mir_alloc((zeros + _tcslen(szVal) + 3)*sizeof(TCHAR));
if (res == NULL)
return NULL;
@@ -170,7 +170,7 @@ static TCHAR *parseNum(ARGUMENTSINFO *ai) {
return NULL;
zeros = max(padding - (signed int)_tcslen(szVal), 0);
- res = ( TCHAR* )mir_alloc((zeros + _tcslen(szVal) + 1)*sizeof(TCHAR));
+ res = (TCHAR*)mir_alloc((zeros + _tcslen(szVal) + 1)*sizeof(TCHAR));
if (res == NULL)
return NULL;