Commit 22c64454 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent bb06ca33
......@@ -155,7 +155,7 @@ public:
if (0 != nSrcSize)
{
m_aT = ::calloc(nSrcSize, sizeof(T));
m_aT = (T*)::calloc(nSrcSize, sizeof(T));
if (m_aT != NULL)
{
m_nAllocSize = nSrcSize;
......@@ -185,7 +185,7 @@ public:
{
int nNewAllocSize = nAllocSize;
m_aT = ::calloc(nNewAllocSize, sizeof(T));
m_aT = (T*)::calloc(nNewAllocSize, sizeof(T));
if (NULL == m_aT)
return FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment