diff options
author | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-06-26 11:18:33 +0300 |
---|---|---|
committer | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-06-27 09:13:25 +0000 |
commit | 75e933c612b63bd130c19078fdc1201738745e3e (patch) | |
tree | 7ef4022271a32c1f9d708230c6395f1b24d7c7ff /src/bluetooth/qlowenergycontroller.cpp | |
parent | 2aa2a2c7e893a456be4fffdc8ae96810c3517e9a (diff) |
Fix QNdefNfcActRecord::action for platforms with unsigned char
QByteArray operator [] has return type of char whose signedness is
dependendent on platform and compiler. Casting char to an enum with
negative value does not work on configurations with unsigned char type.
Fixed by explicitly casting action to signed char before converting it
to enum.
Task-number: QTBUG-60268
Change-Id: I733520a70c321c3b8dac9c67cfb096ac97a64b94
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
0 files changed, 0 insertions, 0 deletions