summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-09-06 17:24:17 +0200
committerSlávek Banko <[email protected]>2020-09-06 17:24:17 +0200
commit93d4c006affa4ffb5dcf872a07e79bc8e1375913 (patch)
tree9e4141923d5d466a75f8780d0a45687c2a81b526
parent68b7e8d5ffe0236f5401d21561cb02dff09ae594 (diff)
downloadkmplayer-93d4c006affa4ffb5dcf872a07e79bc8e1375913.tar.gz
kmplayer-93d4c006affa4ffb5dcf872a07e79bc8e1375913.zip
Fix FTBFS due to narrowing conversion from 'unsigned int' to 'int'.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--src/kmplayer_smil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kmplayer_smil.cpp b/src/kmplayer_smil.cpp
index f144f3a..cf0a8f9 100644
--- a/src/kmplayer_smil.cpp
+++ b/src/kmplayer_smil.cpp
@@ -2312,7 +2312,7 @@ KDE_NO_EXPORT NodeRefListPtr SMIL::TimedMrl::listeners (unsigned int id) {
}
KDE_NO_EXPORT bool SMIL::TimedMrl::handleEvent (EventPtr event) {
- int id = event->id ();
+ unsigned int id = event->id ();
switch (id) {
case event_timer: {
TimerEvent * te = static_cast <TimerEvent *> (event.ptr ());