fixed compile errors
[platform/framework/web/wrt-plugins-tizen.git] / src / NFC / NFCUtil.cpp
index b189a60..7763ab7 100755 (executable)
@@ -166,7 +166,8 @@ NdefRecordData NFCUtil::getNDEFRecordData(void *handle) {
 
        nfc_record_tnf_e tnf;
        unsigned char *typeName, *id, *payload;
-       int typeSize, idSize, payloadSize;
+       int typeSize, idSize;
+       unsigned int payloadSize;
 
        int result = nfc_ndef_record_get_tnf(recordHandle, &tnf);
        throwNFCException(result, "Can't get record's tnf");