Skip to content

Commit ebe68aa

Browse files
authored
Merge pull request #45131 from iarspider/iarspider-patch-20240604-3
Fix deprecated bitwise operations between different enum types in WTableWidget
2 parents 17b9046 + 3a7381d commit ebe68aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Fireworks/TableWidget/src/FWTableWidget.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
//
2727
// constants, enums and typedefs
2828
//
29-
static const UInt_t kRowOptions = kLHintsExpandX | kLHintsFillX | kLHintsShrinkX;
30-
static const UInt_t kColOptions = kLHintsExpandY | kLHintsFillY | kLHintsShrinkY;
29+
static const UInt_t kRowOptions =
30+
static_cast<UInt_t>(kLHintsExpandX) | static_cast<UInt_t>(kLHintsFillX) | static_cast<UInt_t>(kLHintsShrinkX);
31+
static const UInt_t kColOptions =
32+
static_cast<UInt_t>(kLHintsExpandY) | static_cast<UInt_t>(kLHintsFillY) | static_cast<UInt_t>(kLHintsShrinkY);
3133

3234
//
3335
// static data member definitions

0 commit comments

Comments
 (0)