Message ID | 20210127231005.1579325-3-brian.gix@intel.com |
---|---|
State | New |
Headers | show |
Series | Fix 32 bit Compiler Errors | expand |
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index fe73a6d89..bb9fb0b9c 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -9121,7 +9121,7 @@ static void read_50_controller_cap_complete(uint8_t status, uint16_t length, } if (sizeof(rp->cap_len) + rp->cap_len != length) { - tester_warn("Controller capabilities malformed, size %lu != %u", + tester_warn("Controller capabilities malformed, size %zu != %u", sizeof(rp->cap_len) + rp->cap_len, length); tester_test_failed(); }