From 544bda197e614103f6db27e3e7561bd486a50def Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 23 Jul 2010 13:31:33 +0000 Subject: [PATCH] Fix minor warning. --- examples/nfc-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nfc-utils.c b/examples/nfc-utils.c index 5796713..7664e7c 100644 --- a/examples/nfc-utils.c +++ b/examples/nfc-utils.c @@ -126,7 +126,7 @@ nfc_device_desc_t* parse_device_desc(int argc, const char *argv[], size_t* szFou strcpy(pndd->pcPort, strtok(NULL, ":")); // Speed. - sscanf(strtok(NULL, ":"), "%d", &pndd->uiSpeed); + sscanf(strtok(NULL, ":"), "%u", &pndd->uiSpeed); *szFound = 1; }