tag/Pool: use uint8_t instead of unsigned char

This commit is contained in:
Max Kellermann 2018-01-20 19:46:32 +01:00
parent f5590806e0
commit 6e6a0275b5
1 changed files with 2 additions and 1 deletions

View File

@ -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();