Various bits and pieces.
[dcpomatic.git] / src / lib / types.h
index 4b8b8072d909caa311db52b815da8c888f6448cf..8f2fe2c7165c6a3be02df80441b94877f99a6f84 100644 (file)
@@ -31,7 +31,7 @@ typedef int64_t ContentAudioFrame;
 typedef int     ContentVideoFrame;
 typedef int64_t Time;
 #define TIME_MAX INT64_MAX
-#define TIME_HZ  96000
+#define TIME_HZ  ((Time) 96000)
 typedef int64_t OutputAudioFrame;
 typedef int     OutputVideoFrame;