Fix a compiler warning
opensc-explorer.c:1440:22: warning: conversion specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf("expecting %u, got only %d bytes.\n", len, r); ~^ ~~~ %lu git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5137 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
1b192154d0
commit
63c293e963
|
@ -1437,7 +1437,7 @@ static int do_asn1(int argc, char **argv)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
if ((size_t)r != len) {
|
if ((size_t)r != len) {
|
||||||
printf("expecting %u, got only %d bytes.\n", len, r);
|
printf("expecting %lu, got only %d bytes.\n", len, r);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue