Borland C++: Fixed compiler error
This commit is contained in:
parent
305ef25208
commit
d2dc5806cd
|
@ -2595,7 +2595,7 @@ private:
|
|||
CheckLocalLeaks *C = dynamic_cast<CheckLocalLeaks *>(*it);
|
||||
if (C && C->allocated)
|
||||
{
|
||||
CheckMemoryLeakInFunction *checkMemleak = static_cast<CheckMemoryLeakInFunction *>(C->owner);
|
||||
CheckMemoryLeakInFunction *checkMemleak = reinterpret_cast<CheckMemoryLeakInFunction *>(C->owner);
|
||||
if (checkMemleak)
|
||||
{
|
||||
checkMemleak->memleakError(tok, C->varname, false);
|
||||
|
|
Loading…
Reference in New Issue