summaryrefslogtreecommitdiff
path: root/src/tag
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-20 19:46:32 +0100
committerMax Kellermann <max@musicpd.org>2018-01-20 19:53:38 +0100
commit6e6a0275b547f390067c7ce8b0af8562b4b5f8c6 (patch)
tree978ae45ae01c05e26d2c24335048881f33eb6cf6 /src/tag
parentf5590806e0c044a4f2335ffcab66b1a127e3aeae (diff)
tag/Pool: use uint8_t instead of unsigned char
Diffstat (limited to 'src/tag')
-rw-r--r--src/tag/Pool.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tag/Pool.cxx b/src/tag/Pool.cxx
index 94432e6d6..df3699d30 100644
--- a/src/tag/Pool.cxx
+++ b/src/tag/Pool.cxx
@@ -29,6 +29,7 @@
#include <assert.h>
#include <string.h>
#include <stdlib.h>
+#include <stdint.h>
Mutex tag_pool_lock;
@@ -36,7 +37,7 @@ static constexpr size_t NUM_SLOTS = 4093;
struct TagPoolSlot {
TagPoolSlot *next;
- unsigned char ref;
+ uint8_t ref;
TagItem item;
static constexpr unsigned MAX_REF = std::numeric_limits<decltype(ref)>::max();