From a319c42310a32706c36a3993ed6ce8f84859632a Mon Sep 17 00:00:00 2001 From: Claudiu Olteanu Date: Sat, 19 Sep 2015 19:31:21 +0300 Subject: Rename BTH_ADDR_STR_LEN macro Signed-off-by: Claudiu Olteanu Signed-off-by: Dirk Hohndel --- qt-ui/btdeviceselectiondialog.cpp | 4 ++-- qt-ui/btdeviceselectiondialog.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/btdeviceselectiondialog.cpp b/qt-ui/btdeviceselectiondialog.cpp index 40d57314f..2fa8ef167 100644 --- a/qt-ui/btdeviceselectiondialog.cpp +++ b/qt-ui/btdeviceselectiondialog.cpp @@ -588,8 +588,8 @@ void WinBluetoothDeviceDiscoveryAgent::run() if (result == SUCCESS) { // Found a device - QString deviceAddress(BTH_ADDR_STR_LEN, Qt::Uninitialized); - DWORD addressSize = BTH_ADDR_STR_LEN; + QString deviceAddress(BTH_ADDR_BUF_LEN, Qt::Uninitialized); + DWORD addressSize = BTH_ADDR_BUF_LEN; // Collect the address of the device from the WSAQUERYSET SOCKADDR_BTH *socketBthAddress = (SOCKADDR_BTH *) pResults->lpcsaBuffer->RemoteAddr.lpSockaddr; diff --git a/qt-ui/btdeviceselectiondialog.h b/qt-ui/btdeviceselectiondialog.h index d947d3449..a99afb80a 100644 --- a/qt-ui/btdeviceselectiondialog.h +++ b/qt-ui/btdeviceselectiondialog.h @@ -14,7 +14,7 @@ #include #define SUCCESS 0 - #define BTH_ADDR_STR_LEN 40 + #define BTH_ADDR_BUF_LEN 40 #define BTH_ADDR_PRETTY_STRING_LEN 17 // there are 6 two-digit hex values and 5 colons #undef ERROR // this is already declared in our headers -- cgit v1.2.3-70-g09d2