natEmbeddedWindow.cc (setWindowPeer): Removed lvalue cast; use correct rvalue cast.

* gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
	lvalue cast; use correct rvalue cast.

From-SVN: r71076
This commit is contained in:
Tom Tromey 2003-09-04 16:58:13 +00:00 committed by Tom Tromey
parent 5f1e32fad7
commit 7f09034f0f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-09-04 Tom Tromey <tromey@redhat.com>
* gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
lvalue cast; use correct rvalue cast.
2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
@ -26,6 +31,7 @@
* java/util/logging/LogManager.java: create handlers
* java/util/logging/SimpleFormatter.java: print souceClassName and
sourceMethodName
2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
* win32.cc: fixed tab, indentation and whitespace

View File

@ -8,10 +8,11 @@ details. */
#include <gnu/java/awt/EmbeddedWindow.h>
#include <gnu/java/awt/peer/EmbeddedWindowPeer.h>
#include <java/awt/peer/ComponentPeer.h>
void
gnu::java::awt::EmbeddedWindow::setWindowPeer (gnu::java::awt::peer::EmbeddedWindowPeer* w)
{
if (!peer)
(::java::lang::Object*) peer = (::java::lang::Object*) w;
peer = reinterpret_cast< ::java::awt::peer::ComponentPeer *> (w);
}