summaryrefslogtreecommitdiff
path: root/src/phDal4Nfc_messageQueueLib.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-03-21 23:05:31 -0700
committerColin Cross <ccross@android.com>2014-03-21 23:07:36 -0700
commita5282496f1c25f5c8cfefd3b8bc4220ee2192881 (patch)
treec7ca4355fd0b340b23f8aaf4fda3b2376f5f7fb0 /src/phDal4Nfc_messageQueueLib.h
parent259abdcbb35206e0ae728d516d01c4892367bee6 (diff)
downloadlibnfc-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 'src/phDal4Nfc_messageQueueLib.h')
-rw-r--r--src/phDal4Nfc_messageQueueLib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/phDal4Nfc_messageQueueLib.h b/src/phDal4Nfc_messageQueueLib.h
index 0bf2ba4..b13823b 100644
--- a/src/phDal4Nfc_messageQueueLib.h
+++ b/src/phDal4Nfc_messageQueueLib.h
@@ -41,10 +41,10 @@ typedef struct phDal4Nfc_Message_Wrapper
phLibNfc_Message_t msg;
} phDal4Nfc_Message_Wrapper_t;
-int phDal4Nfc_msgget(key_t key, int msgflg);
-int phDal4Nfc_msgctl(int msqid, int cmd, void *buf);
-int phDal4Nfc_msgsnd(int msqid, void * msgp, size_t msgsz, int msgflg);
-int phDal4Nfc_msgrcv (int msqid, void * msgp, size_t msgsz, long msgtyp, int msgflg);
+intptr_t phDal4Nfc_msgget(key_t key, int msgflg);
+int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void *buf);
+int phDal4Nfc_msgsnd(intptr_t msqid, void * msgp, size_t msgsz, int msgflg);
+int phDal4Nfc_msgrcv(intptr_t msqid, void * msgp, size_t msgsz, long msgtyp, int msgflg);
#endif
#endif /* PHDAL4NFC_MESSAGEQUEUE_H */