Fix a couple warnings.

This commit is contained in:
Romain Tartiere 2012-03-01 13:33:13 +00:00
parent 3eba0e9b54
commit 05789e5a68
8 changed files with 28 additions and 22 deletions

View file

@ -101,7 +101,7 @@ main (int argc, const char *argv[])
printf ("No NFC device found.\n");
}
printf ("%d NFC device(s) found:\n", szDeviceFound);
printf ("%d NFC device(s) found:\n", (int) szDeviceFound);
for (i = 0; i < szDeviceFound; i++) {
pnd = nfc_open (NULL, connstrings[i]);
if (pnd != NULL) {