From e2e6c6cacc0ef5c917d3c0ff569e13bc61dbb05a Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 9 Feb 2010 15:50:52 +0000 Subject: [PATCH] We should only use C99 types when available. This could fix a compilation issue reported at http://www.libnfc.org/community/post/770 --- src/lib/drivers/pn53x_usb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/drivers/pn53x_usb.h b/src/lib/drivers/pn53x_usb.h index 65dd3a3..00a3091 100644 --- a/src/lib/drivers/pn53x_usb.h +++ b/src/lib/drivers/pn53x_usb.h @@ -30,8 +30,8 @@ typedef struct { } usb_spec_t; typedef struct { - u_int16_t idVendor; - u_int16_t idProduct; + uint16_t idVendor; + uint16_t idProduct; } usb_candidate_t; nfc_device_t* pn53x_usb_connect(const nfc_device_desc_t* pndd,const char * target_name, int target_chip);