aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/btdeviceselectiondialog.cpp
diff options
context:
space:
mode:
authorGravatar Claudiu Olteanu <olteanu.claudiu@ymail.com>2015-09-19 19:31:21 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-19 09:43:33 -0700
commita319c42310a32706c36a3993ed6ce8f84859632a (patch)
tree43be025bc21b20f364dedb9b7624bee80940c8ad /qt-ui/btdeviceselectiondialog.cpp
parent89540e0fb2051b667135e2588e70b8ad49f61cd4 (diff)
downloadsubsurface-a319c42310a32706c36a3993ed6ce8f84859632a.tar.gz
Rename BTH_ADDR_STR_LEN macro
Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/btdeviceselectiondialog.cpp')
-rw-r--r--qt-ui/btdeviceselectiondialog.cpp4
1 files changed, 2 insertions, 2 deletions
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;