Changeset 668


Ignore:
Timestamp:
Mar 10, 2010, 4:05:22 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

Fixed some release warnings.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/os2/xsystray/xsystray_api.c

    r423 r668  
    331331{
    332332    BOOL    brc;
    333     ULONG   xrc;
     333    ULONG   xrc;
    334334    PPIB    ppib;
    335335    HAB     hab;
  • trunk/src/gui/kernel/qkeymapper_pm.cpp

    r659 r668  
    436436            APIRET arc = KbdXlate(&kt, 0);
    437437            Q_ASSERT(arc == NO_ERROR);
     438
    438439            keyLayout[chm.scancode]->qtKey[i][j] =
    439440                QString::fromLocal8Bit((char*)&kt.chChar, 1)[0].toUpper().unicode();
  • trunk/src/gui/kernel/qwidget_pm.cpp

    r659 r668  
    835835    WinValidateRegion(hwnd, update, TRUE);
    836836
    837     POINTL ptls[4];
    838     RECTL &sr = *(PRECTL) &ptls[2];
    839     RECTL &tr = *(PRECTL) &ptls[0];
     837    char points[sizeof(POINTL) * 4];
     838    register PPOINTL ptls = reinterpret_cast<PPOINTL>(points);
     839    RECTL &sr = *reinterpret_cast<PRECTL>(&ptls[2]);
     840    RECTL &tr = *reinterpret_cast<PRECTL>(&ptls[0]);
    840841
    841842    // get the source rect for scrolling
     
    18911892    if (frameWinId() != NULLHANDLE)
    18921893        qt_WinSetWindowPos(frameWinId(), HWND_TOP, 0, 0, 0, 0, SWP_ZORDER);
    1893 
     1894    Q_UNUSED(q);
    18941895}
    18951896
Note: See TracChangeset for help on using the changeset viewer.