RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

skip warning #67

Open renatose opened 8 years ago

renatose commented 8 years ago

as mode_last == mode_loop, Mode::Loop == vlc::mode_last this way the warning is skipped

RSATom commented 8 years ago

it was maid so just to avoid possible problems if order of items in playback_mode_e will be changed by some reason. So it's better fix this warning by reinterpret_cast<playback_mode_e>(mode)

RSATom commented 8 years ago

btw, it worth add there check for values below 0 too since enums by default are signed.