diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-07-30 14:56:40 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-30 17:21:03 +0200 |
commit | 9257e5cec2d6196d0a2953d0ae95d51d730a1c81 (patch) | |
tree | dcecf947a1a81525660f065aa3a8d4eed1f68b01 /src/bluetooth/qbluetoothserviceinfo_bluez.cpp | |
parent | 9fd5b313aafa5fc4a7868a2cd22c18c5f63ff051 (diff) |
Fix compiler warning
qbluetoothserviceinfo_bluez.cpp:87:5: warning: case value ‘33’ not in enumerated type ‘QVariant::Type’ [-Wswitch]
qbluetoothserviceinfo_bluez.cpp:81:5: warning: case value ‘34’ not in enumerated type ‘QVariant::Type’ [-Wswitch]
qbluetoothserviceinfo_bluez.cpp:67:5: warning: case value ‘36’ not in enumerated type ‘QVariant::Type’ [-Wswitch]
qbluetoothserviceinfo_bluez.cpp:60:5: warning: case value ‘37’ not in enumerated type ‘QVariant::Type’ [-Wswitch]
qbluetoothserviceinfo_bluez.cpp:57:5: warning: case value ‘43’ not in enumerated type ‘QVariant::Type’ [-Wswitch]
Change-Id: Ic5e792119e0676e09e1f4a3b07e5d3defa27c623
Reviewed-by: Michael Zanetti <michael.zanetti@canonical.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserviceinfo_bluez.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserviceinfo_bluez.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo_bluez.cpp b/src/bluetooth/qbluetoothserviceinfo_bluez.cpp index 7a29a1ee..e40d4421 100644 --- a/src/bluetooth/qbluetoothserviceinfo_bluez.cpp +++ b/src/bluetooth/qbluetoothserviceinfo_bluez.cpp @@ -53,7 +53,7 @@ static void writeAttribute(QXmlStreamWriter *stream, const QVariant &attribute) { const QString unsignedFormat(QLatin1String("0x%1")); - switch (attribute.type()) { + switch (int(attribute.type())) { case QMetaType::Void: stream->writeEmptyElement(QLatin1String("nil")); break; |