use static_cast in Scrollpad::Flush() instead of reinterpret_cast
This commit is contained in:
@@ -95,7 +95,7 @@ void Scrollpad::Flush()
|
||||
}
|
||||
Recreate();
|
||||
itsBuffer.SetTemp(&s);
|
||||
reinterpret_cast<Window &>(*this) << itsBuffer;
|
||||
static_cast<Window &>(*this) << itsBuffer;
|
||||
itsBuffer.SetTemp(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user