mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
From Qt 6.6 qint128 is a typedef
https://doc.qt.io/qt-6/qttypes.html#qint128-typedef
This commit is contained in:
@@ -160,7 +160,11 @@ void inride_BTDeviceInfoToSystemID(const QBluetoothDeviceInfo &devinfo, uint8_t
|
||||
|
||||
quint128 be_uuid128 = uuid.toUInt128();
|
||||
|
||||
#if QT_VERSION < 0x060600
|
||||
addr64 = *(uint64_t*)be_uuid128.data;
|
||||
#else
|
||||
addr64 = *(uint64_t*)be_uuid128;
|
||||
#endif
|
||||
}
|
||||
|
||||
uint8_t* paddr64 = (uint8_t*)&addr64;
|
||||
|
||||
Reference in New Issue
Block a user