1. mst
  2. ooo340

Commits

hr  committed b51e40d

#i10000#,#i96440# fix cast for LP64 platforms

  • Participants
  • Parent commits e66ad6b
  • Branches default

Comments (0)

Files changed (1)

File extensions/source/plugin/unx/npnapi.cxx

View file
                     {
                         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 );