Commit 6e6a0275 authored by Max Kellermann's avatar Max Kellermann

tag/Pool: use uint8_t instead of unsigned char

parent f5590806
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment