mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
test: config: fix format specifier: uint32_t needs %u, not %hu
This commit is contained in:
parent
323f645bb2
commit
4986df7eeb
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ test_uint32(struct context *ctx, bool (*parse_fun)(struct context *ctx),
|
|||
ctx->section, ctx->key, ctx->value);
|
||||
}
|
||||
if (*conf_ptr != input[i].value) {
|
||||
BUG("[%s].%s=%s: set value (%hu) not the expected one (%hu)",
|
||||
BUG("[%s].%s=%s: set value (%u) not the expected one (%u)",
|
||||
ctx->section, ctx->key, ctx->value,
|
||||
*conf_ptr, input[i].value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue