diff --git a/src/curl_json.c b/src/curl_json.c
index 00993c0e706c8f519c4423f57b44adc09e5c6325..5aceae4e59e45ee55e3400340660c51b4dc4f78f 100644 (file)
--- a/src/curl_json.c
+++ b/src/curl_json.c
if (*ptr == '/')
{
c_avl_tree_t *value;
- int len;
+ size_t len;
len = ptr-name;
if (len == 0)