VirtualBox

Changeset 28294 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 14, 2010 11:33:35 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60046
Message:

gcc warnings

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/context.c

    r26910 r28294  
    578578                                  0, 0, x, y, &child))
    579579    {
    580         crWarning("Failed to get windows geometry for %x, try xwininfo", (int) window);
     580        crWarning("Failed to get windows geometry for %p, try xwininfo", window);
    581581        *x = *y = 0;
    582582        *w = *h = 0;
  • trunk/src/VBox/Additions/common/crOpenGL/stub.c

    r21576 r28294  
    468468        if (!pGLRects)
    469469        {
    470             crWarning("stubUpdateWindowVisibileRegions: failed to allocate %i bytes", 4*cRects*sizeof(GLint));
     470            crWarning("stubUpdateWindowVisibileRegions: failed to allocate %lu bytes",
     471                    (unsigned long)(4*cRects*sizeof(GLint)));
    471472            return GL_FALSE;
    472473        }
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r28290 r28294  
    46584658void VBoxGlobal::showRegistrationDialog (bool aForce)
    46594659{
     4660    NOREF(aForce);
    46604661#ifdef VBOX_WITH_REGISTRATION
    46614662    if (!aForce && !UIRegistrationWzd::hasToBeShown())
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r28279 r28294  
    12571257    /* Get the sender() menu: */
    12581258    QMenu *pMenu = qobject_cast<QMenu*>(sender());
     1259#ifdef RT_STRICT
    12591260    QMenu *pUSBDevicesMenu = actionsPool()->action(UIActionIndex_Menu_USBDevices)->menu();
     1261#endif
    12601262    AssertMsg(pMenu == pUSBDevicesMenu, ("This slot should only be called on hovering USB menu!\n"));
    12611263    pMenu->clear();
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette