X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fmxf.h;h=a3ba4b102d0dad9b6803a4d955aa01629c8c2214;hb=bc7089956cefc9f8528918f8a5d48174ab680f13;hp=b4efd14f9e1aebf24cbffa8c41af20f795076199;hpb=9e523d8a4062ad52330dff6c2ba50e54184c9bb2;p=libdcp.git diff --git a/src/mxf.h b/src/mxf.h index b4efd14f..a3ba4b10 100644 --- a/src/mxf.h +++ b/src/mxf.h @@ -28,7 +28,7 @@ namespace ASDCP { class AESDecContext; - class WriterInfo; + struct WriterInfo; } /* Undefine some stuff that the OS X 10.5 SDK defines */ @@ -52,7 +52,7 @@ public: /** @return true if the data is encrypted */ bool encrypted () const { - return _key_id; + return static_cast(_key_id); } /** Set the ID of the key that is used for encryption/decryption.