summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-10-24 20:42:57 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-24 21:58:25 +0200
commit4a2bfe3d223e08d6dc7b7fef812625652eec19fc (patch)
treee8c2c81f08f466c4fe4ea2fda972f5b1447a7a5f /avmedia
parentb5c0e66bb93d969adebf9be892bed59f72d1c8c9 (diff)
warning C4805: '!=': unsafe mix of bool and sal_Bool
Change-Id: I7607ddc9e207c87d6126715c43970ac22d3aed62
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/win/player.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx
index dfe6e55447f5..f91c906d930b 100644
--- a/avmedia/source/win/player.cxx
+++ b/avmedia/source/win/player.cxx
@@ -414,7 +414,7 @@ void SAL_CALL Player::setMute( sal_Bool bSet )
{
::osl::MutexGuard aGuard(m_aMutex);
- if( mpBA && ( mbMuted != bSet ) )
+ if (mpBA && (mbMuted != static_cast<bool>(bSet)))
{
mbMuted = bSet;
mpBA->put_Volume( mbMuted ? -10000 : mnUnmutedVolume );