commit | 7b3a00e84f62a93786d3edea8e245d91b3ac4ce0 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Aug 09 11:58:03 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Aug 09 11:58:03 2023 +0200 |
tree | 50f6d4fe514d8b37e02fc16bb8f66960c9c5566c | |
parent | b5c774b5080ac6f092ea5c2ca6b5ffb2419ce7ad [diff] [blame] |
libyang REFACTOR add more compiler printf attributes Some bugs fixed because of the new warnings.
diff --git a/src/printer_lyb.c b/src/printer_lyb.c index b99ec64..820e81e 100644 --- a/src/printer_lyb.c +++ b/src/printer_lyb.c
@@ -701,7 +701,7 @@ if (value_len > UINT32_MAX) { LOGERR(lybctx->ctx, LY_EINT, "The maximum length of the LYB data " - "from a term node must not exceed %lu.", UINT32_MAX); + "from a term node must not exceed %" PRIu32 ".", UINT32_MAX); ret = LY_EINT; goto cleanup; }