Commit 51894725 authored by Max Kellermann's avatar Max Kellermann

tag_pool: use size_t for string length

parent 8fa44d53
......@@ -93,8 +93,8 @@ void tag_pool_deinit(void)
tag_pool_lock = NULL;
}
struct tag_item *tag_pool_get_item(enum tag_type type,
const char *value, int length)
struct tag_item *
tag_pool_get_item(enum tag_type type, const char *value, size_t length)
{
struct slot **slot_p, *slot;
......
......@@ -32,8 +32,8 @@ void tag_pool_init(void);
void tag_pool_deinit(void);
struct tag_item *tag_pool_get_item(enum tag_type type,
const char *value, int length);
struct tag_item *
tag_pool_get_item(enum tag_type type, const char *value, size_t length);
struct tag_item *tag_pool_dup_item(struct tag_item *item);
......
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