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:
ludovic.rousseau 2011-02-05 17:44:56 +00:00
parent 1b192154d0
commit 63c293e963
1 changed files with 1 additions and 1 deletions

View File

@ -1437,7 +1437,7 @@ static int do_asn1(int argc, char **argv)
goto err;
}
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;
}