diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:29:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:29:59 +0100 |
commit | 420ba81517f48df61ab66f5377795a5568d1f47c (patch) | |
tree | f07af078030234dfa5cc419c13eef52158e867f9 /avmedia/source/vlc | |
parent | More loplugin:cstylecast: basctl (diff) | |
download | core-420ba81517f48df61ab66f5377795a5568d1f47c.tar.gz core-420ba81517f48df61ab66f5377795a5568d1f47c.zip |
More loplugin:cstylecast: avmedia
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: Id1ad7f5c7beeea0c749a2ed48dedd03c50945b80
Diffstat (limited to 'avmedia/source/vlc')
-rw-r--r-- | avmedia/source/vlc/wrapper/Player.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/vlc/wrapper/Player.cxx b/avmedia/source/vlc/wrapper/Player.cxx index 3102dcac92b0..44eed54fca8e 100644 --- a/avmedia/source/vlc/wrapper/Player.cxx +++ b/avmedia/source/vlc/wrapper/Player.cxx @@ -235,7 +235,7 @@ namespace wrapper void Player::setWindow( intptr_t id ) { #if defined UNX - libvlc_media_player_set_xwindow( mPlayer, (uint32_t) id ); + libvlc_media_player_set_xwindow( mPlayer, static_cast<uint32_t>(id) ); #elif defined MACOSX libvlc_media_player_set_nsobject( mPlayer, reinterpret_cast<void*>( id ) ); #elif defined WNT |