summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-01 13:11:30 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-01 13:11:30 +0100
commita108d8db512ca872b442e8496346f0b0a22656a3 (patch)
tree53e696294fdfcb605e7cdc4d44fdd813a1ddc63a /src
parent49b9b7b381f66dc8591c4184323a3ab35d38e90f (diff)
Hack.
Diffstat (limited to 'src')
-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.