tests: Fix printf compiler warning for an error case.
* tests/gpg/t-keylist.c (main): Cast DIM to int. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
ad0c5ab4cd
commit
46d2e48105
@ -569,7 +569,7 @@ main (int argc, char **argv)
|
||||
if (keys[i].fpr)
|
||||
{
|
||||
fprintf (stderr, "Less keys (%d) returned than expected (%d)\n",
|
||||
i, DIM (keys) - 1);
|
||||
i, (int)(DIM (keys) - 1));
|
||||
exit (1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user