summaryrefslogtreecommitdiff
path: root/src/mxf.h
diff options
context:
space:
mode:
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.