On Mon Jul 14 17:59:28 2025 +0000, Elizabeth Figura wrote:
You can use %Iu for sizeof.
On Clang, it results in this error for x86_64:
``` ../dlls/setupapi/tests/devinst.c:1392:86: error: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Werror,-Wformat] 1392 | ok(keys_len >= ARRAY_SIZE(expected_keys), "Expected %lu >= %lu\n", keys_len, ARRAY_SIZE(expected_keys)); ```
for i686:
``` ../dlls/setupapi/tests/devinst.c:1392:86: error: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Werror,-Wformat] 1392 | ok(keys_len >= ARRAY_SIZE(expected_keys), "Expected %lu >= %lu\n", keys_len, ARRAY_SIZE(expected_keys)); ```