summaryrefslogtreecommitdiff
path: root/src/mxf.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-01 13:00:48 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-01 13:17:47 +0100
commitde32e9958d71ed16ebf1e5f8b2a9cf244c62d8c6 (patch)
treee719c4d28db45d49298a72222b8cb7276cfc24ad /src/mxf.h
parent13cbd5e5994ab68d1bd1412291fac32208d38157 (diff)
Tweaks for Debian unstable.
Diffstat (limited to 'src/mxf.h')
-rw-r--r--src/mxf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mxf.h b/src/mxf.h
index b4efd14f..f8be9844 100644
--- a/src/mxf.h
+++ b/src/mxf.h
@@ -52,7 +52,7 @@ public:
/** @return true if the data is encrypted */
bool encrypted () const {
- return _key_id;
+ return static_cast<bool>(_key_id);
}
/** Set the ID of the key that is used for encryption/decryption.