diff options
author | Colin Cross <ccross@android.com> | 2014-03-21 23:05:31 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-21 23:07:36 -0700 |
commit | a5282496f1c25f5c8cfefd3b8bc4220ee2192881 (patch) | |
tree | c7ca4355fd0b340b23f8aaf4fda3b2376f5f7fb0 /inc | |
parent | 259abdcbb35206e0ae728d516d01c4892367bee6 (diff) | |
download | libnfc-nxp-a5282496f1c25f5c8cfefd3b8bc4220ee2192881.tar.gz |
libnfc-nxp: fix build for 64-bit
Turn off unused parameter warnings to unclutter the build output
When storing an int in a void*, use intptr_t to cast between them
Store pointer handles in an intptr_t or a uintptr_t
Change-Id: If48290ca23dd295f1a87220c5b1d5232ebdc8d45
Diffstat (limited to 'inc')
-rw-r--r-- | inc/phNfcTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/phNfcTypes.h b/inc/phNfcTypes.h index 914ae07..79d12aa 100644 --- a/inc/phNfcTypes.h +++ b/inc/phNfcTypes.h @@ -232,7 +232,7 @@ typedef struct phLibNfc_sConfig_t /** Device node of the controller */ const char* deviceNode; /** The client ID (thread ID or message queue ID) */ - unsigned int nClientId; + intptr_t nClientId; } phLibNfc_sConfig_t, *pphLibNfc_sConfig_t; |