VirtualBox

Changeset 46040 in vbox for trunk


Ignore:
Timestamp:
May 13, 2013 7:32:36 PM (12 years ago)
Author:
vboxsync
Message:

Additions/x11: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c

    r46039 r46040  
    254254                              uint32_t *pcBits)
    255255{
     256    unsigned i;
     257
    256258    XF86ASSERT(cIndex < vboxNumStdModes,
    257259               ("cIndex = %d, vboxNumStdModes = %d\n", cIndex,
    258260                vboxNumStdModes));
    259     for (unsigned i = cIndex; i < vboxNumStdModes - 1; ++i)
     261    for (i = cIndex; i < vboxNumStdModes - 1; ++i)
    260262    {
    261263        uint32_t cBits = pScrn->bitsPerPixel;
     
    462464{
    463465    unsigned cx = 0, cy = 0, cIndex = 0;
     466    unsigned i;
    464467    /* For reasons related to the way RandR 1.1 is implemented, we need to
    465468     * make sure that the initial mode (more precisely, a mode equal to the
     
    490493    /* And finally any modes specified by the user.  We assume here that
    491494     * the mode names reflect the mode sizes. */
    492     unsigned i;
    493495    for (i = 0; pScrn->display->modes && pScrn->display->modes[i]; i++)
    494496    {
Note: See TracChangeset for help on using the changeset viewer.

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