Changeset 761684d in suil


Ignore:
Timestamp:
08/06/17 07:40:38 (2 months ago)
Author:
David Robillard <d@…>
Branches:
master
Children:
35c7069
Parents:
09062c1
git-author:
David Robillard <d@…> (08/06/17 07:06:02)
git-committer:
David Robillard <d@…> (08/06/17 07:40:38)
Message:

Fix implicit cast warnings with clang

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/gtk2_in_qt5.cpp

    r501ac1f r761684d  
    8989    gtk_widget_show_all(plug); 
    9090 
    91     const WId    wid       = gtk_plug_get_id((GtkPlug *)plug); 
     91    const WId    wid       = (const WId)gtk_plug_get_id((GtkPlug*)plug); 
    9292    QWindow*     window    = QWindow::fromWinId(wid); 
    9393    QWidget*     container = QWidget::createWindowContainer(window, wrap); 
  • src/qt5_in_gtk2.cpp

    r43a25ed r761684d  
    9090    SuilQtWrapper* const wrap = SUIL_QT_WRAPPER(w); 
    9191    GtkSocket* const     s    = GTK_SOCKET(w); 
    92     const WId            id   = gtk_socket_get_id(s); 
     92    const WId            id   = (const WId)gtk_socket_get_id(s); 
    9393 
    9494    wrap->qembed->winId(); 
Note: See TracChangeset for help on using the changeset viewer.