summaryrefslogtreecommitdiff
path: root/libs/midi++2/midi++/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/midi++2/midi++/types.h')
-rw-r--r--libs/midi++2/midi++/types.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/midi++2/midi++/types.h b/libs/midi++2/midi++/types.h
index 797c50a31b..ca7345c0d6 100644
--- a/libs/midi++2/midi++/types.h
+++ b/libs/midi++2/midi++/types.h
@@ -1,14 +1,16 @@
#ifndef __midi_types_h__
#define __midi_types_h__
+#include <inttypes.h>
+
namespace MIDI {
typedef char channel_t;
typedef float controller_value_t;
typedef unsigned char byte;
typedef unsigned short pitchbend_t;
- typedef unsigned int timestamp_t;
- typedef unsigned int nframes_t;
+ typedef uint32_t nframes_t;
+ typedef uint32_t timestamp_t;
enum eventType {
none = 0x0,