summaryrefslogtreecommitdiff
blob: bb320c7aa70b49b0a1c580bfa4766e2e1b9140fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/id3tag.h
+++ b/id3tag.h
@@ -25,6 +25,8 @@
 # ifndef LIBID3TAG_ID3TAG_H
 # define LIBID3TAG_ID3TAG_H
 
+#include <stdint.h>
+
 # ifdef __cplusplus
 extern "C" {
 # endif
@@ -36,10 +38,10 @@
 typedef unsigned char id3_byte_t;
 typedef unsigned long id3_length_t;
 
-typedef unsigned long id3_ucs4_t;
+typedef uint32_t id3_ucs4_t;
 
 typedef unsigned char id3_latin1_t;
-typedef unsigned short id3_utf16_t;
+typedef uint16_t id3_utf16_t;
 typedef signed char id3_utf8_t;
 
 struct id3_tag {