Changeset 10737 for trunk


Ignore:
Timestamp:
05/17/11 21:02:04 (14 years ago)
Author:
tbretz
Message:
Fixed a compiler error.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/MainWindow.cc

    r10736 r10737  
    231231    const uint16_t idx = fPixelIdx->value();
    232232
    233     const uint8_t d[3] = { idx&0xff, idx>>8, !b };
     233    const uint8_t d[3] = { uint8_t(idx&0xff), uint8_t(idx>>8), !b };
    234234
    235235    Dim::SendCommand("FTM_CONTROL/DISABLE_PIXEL", d);
Note: See TracChangeset for help on using the changeset viewer.