summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nfc/qndefnfcsmartposterrecord.cpp2
-rw-r--r--tests/auto/qndefnfcsmartposterrecord/BLACKLIST3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/nfc/qndefnfcsmartposterrecord.cpp b/src/nfc/qndefnfcsmartposterrecord.cpp
index bc369980..5f2de2cc 100644
--- a/src/nfc/qndefnfcsmartposterrecord.cpp
+++ b/src/nfc/qndefnfcsmartposterrecord.cpp
@@ -720,7 +720,7 @@ QNdefNfcSmartPosterRecord::Action QNdefNfcActRecord::action() const
QNdefNfcSmartPosterRecord::UnspecifiedAction;
if (!p.isEmpty())
- value = QNdefNfcSmartPosterRecord::Action(p[0]);
+ value = QNdefNfcSmartPosterRecord::Action(static_cast<signed char>(p[0]));
return value;
}
diff --git a/tests/auto/qndefnfcsmartposterrecord/BLACKLIST b/tests/auto/qndefnfcsmartposterrecord/BLACKLIST
deleted file mode 100644
index 05536220..00000000
--- a/tests/auto/qndefnfcsmartposterrecord/BLACKLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-[tst_action]
-# QTBUG-20268
-b2qt