diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 21:06:11 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 21:06:11 +0000 |
commit | 5b3b0020dd6b3797a5808c7362e358df48bd4e49 (patch) | |
tree | 9ee3e4de8b8f04a8faf4186ae2e1f84c3ef21b17 /plugins/Scriver/chat/manager.cpp | |
parent | 449553a9543c7ecc601f74c4abccc07d13521b15 (diff) |
Scriver:
plusified
git-svn-id: http://svn.miranda-ng.org/main/trunk@591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/chat/manager.cpp')
-rw-r--r-- | plugins/Scriver/chat/manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/chat/manager.cpp b/plugins/Scriver/chat/manager.cpp index 061955af45..30bdfc80c7 100644 --- a/plugins/Scriver/chat/manager.cpp +++ b/plugins/Scriver/chat/manager.cpp @@ -767,7 +767,7 @@ char* SM_GetUsers(SESSION_INFO* si) do {
int pLen = lstrlenA(p), nameLen = lstrlen(utemp->pszUID);
if ( pLen + nameLen + 2 > alloced )
- p = mir_realloc( p, alloced += 4096 );
+ p = (char *)mir_realloc( p, alloced += 4096 );
WideCharToMultiByte( CP_ACP, 0, utemp->pszUID, -1, p + pLen, nameLen+1, 0, 0 );
@@ -1230,7 +1230,7 @@ BOOL UM_SetStatusEx(USERINFO* pUserList, const TCHAR* pszText, int flags ) pTemp->iStatusEx = 0;
if ( pszText != NULL ) {
- TCHAR* s = _tcsstr( pszText, pTemp->pszUID );
+ TCHAR* s = (TCHAR *)_tcsstr( pszText, pTemp->pszUID );
if ( s ) {
pTemp->iStatusEx = 0;
if ( s == pszText || s[-1] == cDelimiter ) {
|