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

Fixed some release warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.