Borland C++: Fixed compiler error

This commit is contained in:
Daniel Marjamäki 2009-12-22 23:21:52 +01:00
parent 305ef25208
commit d2dc5806cd
1 changed files with 1 additions and 1 deletions

View File

@ -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);