use static_cast in Scrollpad::Flush() instead of reinterpret_cast

This commit is contained in:
Andrzej Rybczak
2009-03-04 15:39:52 +01:00
parent d8a6993ec2
commit 2d74931a9a

View File

@@ -95,7 +95,7 @@ void Scrollpad::Flush()
}
Recreate();
itsBuffer.SetTemp(&s);
reinterpret_cast<Window &>(*this) << itsBuffer;
static_cast<Window &>(*this) << itsBuffer;
itsBuffer.SetTemp(0);
}