commit | 422afb185cafa85b54a116a4e7d98bc01079fe67 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Mar 04 16:38:16 2021 +0100 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Mar 04 17:31:00 2021 +0100 |
tree | e8cd07825209df711c41e0f2a3ea1dd0bc46432b | |
parent | 85ac83196f8f44b75b6ad839a76915229d64a82f [diff] [blame] |
libyang BUGFIX strictly cast lnegths to int for "%.*s" format strings
diff --git a/src/hash_table.c b/src/hash_table.c index e1a537e..609f408 100644 --- a/src/hash_table.c +++ b/src/hash_table.c
@@ -218,7 +218,7 @@ struct dict_rec *match = NULL, rec; uint32_t hash; - LOGDBG(LY_LDGDICT, "inserting \"%.*s\"", len, value); + LOGDBG(LY_LDGDICT, "inserting \"%.*s\"", (int)len, value); hash = dict_hash(value, len); /* set len as data for compare callback */