diff options
Diffstat (limited to 'plugins/Scriver/chat/message.cpp')
-rw-r--r-- | plugins/Scriver/chat/message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/chat/message.cpp b/plugins/Scriver/chat/message.cpp index a6866941d2..7739e1acef 100644 --- a/plugins/Scriver/chat/message.cpp +++ b/plugins/Scriver/chat/message.cpp @@ -94,7 +94,7 @@ TCHAR* DoRtfToTags( char* pszText, SESSION_INFO* si) // create an index of colors in the module and map them to
// corresponding colors in the RTF color table
- pIndex = mir_alloc(sizeof(int) * MM_FindModule(si->pszModule)->nColorCount);
+ pIndex = (int *)mir_alloc(sizeof(int) * MM_FindModule(si->pszModule)->nColorCount);
for(i = 0; i < MM_FindModule(si->pszModule)->nColorCount ; i++)
pIndex[i] = -1;
|