diff --git a/examples/pn53x-sam.c b/examples/pn53x-sam.c index 79ec682..b53f041 100644 --- a/examples/pn53x-sam.c +++ b/examples/pn53x-sam.c @@ -114,7 +114,7 @@ main(int argc, const char *argv[]) printf(">> "); // Take user's choice - char input = getchar(); + int input = getchar(); printf("\n"); if ((input < '1') || (input > '3')) { ERR("%s", "Invalid selection.");