HomePhabricator

Efl.Ui.Flip: Silence warning

Authored by segfaultxavi on May 29 2019, 6:13 AM.

Description

Efl.Ui.Flip: Silence warning

The Efl.Ui.Orientation enum is actually made of flags, which we can OR
together, and it includes bitmasks for easier manipulation.
gcc expects switch() statemenets to include all enum values and nothing
but the valid enum values, which is abit too restrictive for flags.
Casting to int removes the warning.

Details

Committed
segfaultxaviMay 29 2019, 6:13 AM
Parents
rEFL56ab05660e62: efl_ui_relative_layout: prevent infinite loop in chain calculation
Branches
Unknown
Tags
Unknown