aboutsummaryrefslogtreecommitdiffstats
path: root/nci/jni/NfcJniUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'nci/jni/NfcJniUtil.h')
-rwxr-xr-x[-rw-r--r--]nci/jni/NfcJniUtil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nci/jni/NfcJniUtil.h b/nci/jni/NfcJniUtil.h
index ad370dbb..884898c6 100644..100755
--- a/nci/jni/NfcJniUtil.h
+++ b/nci/jni/NfcJniUtil.h
@@ -68,14 +68,14 @@
/* Error codes */
-#define ERROR_BUFFER_TOO_SMALL -12
-#define ERROR_INSUFFICIENT_RESOURCES -9
+#define ERROR_BUFFER_TOO_SMALL (-12)
+#define ERROR_INSUFFICIENT_RESOURCES (-9)
/* Pre-defined tag type values. These must match the values in
* Ndef.java in the framework.
*/
-#define NDEF_UNKNOWN_TYPE -1
+#define NDEF_UNKNOWN_TYPE (-1)
#define NDEF_TYPE1_TAG 1
#define NDEF_TYPE2_TAG 2
#define NDEF_TYPE3_TAG 3
@@ -97,7 +97,7 @@
#define TARGET_TYPE_ISO14443_3A_3B 11
#endif
/* Name strings for target types. These *must* match the values in TagTechnology.java */
-#define TARGET_TYPE_UNKNOWN -1
+#define TARGET_TYPE_UNKNOWN (-1)
#define TARGET_TYPE_ISO14443_3A 1
#define TARGET_TYPE_ISO14443_3B 2
#define TARGET_TYPE_ISO14443_4 3