diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-11-24 09:57:44 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-11-24 09:57:44 +0000 |
commit | 8ee570810a255d907f7d026d760a23616ae0e540 (patch) | |
tree | 5ea566047003d6b5f701bc5e816998a9aea2df7e | |
parent | d480a8c91d98d850d9d969c7d642af839a6d0d9a (diff) |
#i10000#,#i96440# fix cast for LP64 platforms
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index f35d1bc2a313..c12753f5eb67 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -686,7 +686,7 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) { medDebug( 1, "creating gtk plug and socket\n" ); - pInst->pGtkWindow = gtk_plug_new((GdkNativeWindow)pWindow->window); + pInst->pGtkWindow = gtk_plug_new((GdkNativeWindow)reinterpret_cast<sal_uIntPtr>(pWindow->window)); gtk_widget_show( pInst->pGtkWindow ); pInst->pGtkWidget = gtk_socket_new(); gtk_widget_show( pInst->pGtkWidget ); |