this should fix plugin build on 64-bits linux

This commit is contained in:
rdb 2011-09-09 08:46:08 +00:00
parent 6064045aa3
commit bd62ba4cb6
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ set_window(NPWindow *window) {
#ifdef HAVE_GTK
if (_use_xembed) {
// Create a GtkPlug to bind to the XEmbed socket.
_plug = gtk_plug_new((GdkNativeWindow)_window.window);
_plug = gtk_plug_new((GdkNativeWindow) reinterpret_cast<XID>(_window.window));
gtk_widget_show(_plug);
nout << "original XID is " << _window.window << ", created X11 window "