aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tag_pool.c4
-rw-r--r--src/tag_pool.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tag_pool.c b/src/tag_pool.c
index 7224db725..fb59669e6 100644
--- a/src/tag_pool.c
+++ b/src/tag_pool.c
@@ -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;
diff --git a/src/tag_pool.h b/src/tag_pool.h
index b9e3f375a..991a32a7e 100644
--- a/src/tag_pool.h
+++ b/src/tag_pool.h
@@ -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);