summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/test-iter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/test-iter.c b/p11-kit/test-iter.c
index 3f5a76f..4ce480a 100644
--- a/p11-kit/test-iter.c
+++ b/p11-kit/test-iter.c
@@ -780,7 +780,7 @@ test_slot_match_by_id (void)
modules = initialize_and_get_modules ();
uri = p11_kit_uri_new ();
- ret = asprintf (&string, "pkcs11:slot-id=%lu", MOCK_SLOT_ONE_ID);
+ ret = asprintf (&string, "pkcs11:slot-id=%d", MOCK_SLOT_ONE_ID);
assert (ret > 0);
ret = p11_kit_uri_parse (string, P11_KIT_URI_FOR_SLOT, uri);
free (string);