tag_pool: use size_t for string length
This commit is contained in:
parent
8fa44d53ab
commit
51894725ec
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user