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

master
Andrzej Rybczak 17 years ago
parent d8a6993ec2
commit 2d74931a9a
  1. 2
      src/scrollpad.cpp

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

Loading…
Cancel
Save