diff options
Diffstat (limited to 'plugins/Variables/parse_logic.cpp')
-rw-r--r-- | plugins/Variables/parse_logic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/parse_logic.cpp b/plugins/Variables/parse_logic.cpp index a9abcaa227..b375faab14 100644 --- a/plugins/Variables/parse_logic.cpp +++ b/plugins/Variables/parse_logic.cpp @@ -257,11 +257,11 @@ static TCHAR *parseFor(ARGUMENTSINFO *ai) { parsed = formatString(&fi);
if (parsed != NULL) {
if (res == NULL) {
- res = ( TCHAR* )mir_alloc( _tcslen(parsed)+1 * sizeof(TCHAR));
+ res = (TCHAR*)mir_alloc( _tcslen(parsed)+1 * sizeof(TCHAR));
if (res == NULL)
return NULL;
}
- else res = ( TCHAR* )mir_realloc(res, (_tcslen(res)+_tcslen(parsed)+1)*sizeof(TCHAR));
+ else res = (TCHAR*)mir_realloc(res, (_tcslen(res)+_tcslen(parsed)+1)*sizeof(TCHAR));
_tcscat(res, parsed);
}
|