summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothtransferrequest_p.h
diff options
context:
space:
mode:
authorLubomir I. Ivanov (VMware) <neolit123@gmail.com>2018-02-27 21:24:33 +0200
committerLubomir I. Ivanov <neolit123@gmail.com>2018-02-28 11:44:05 +0000
commit6b3cfe2f836556c2d92b6c7915232fa00fd040f6 (patch)
tree0118c7c737615e4253d042a6ebf8d57e2e02e8ca /src/bluetooth/qbluetoothtransferrequest_p.h
parente63f53aefdecc7ae54986fedb459cb7b40859abd (diff)
qlecontroller_win: fix GetLastError() bug in getServiceSystemPath()
Fix strange bug in getServiceSystemPath() where after the first call to SetupDiGetDeviceInterfaceDetail(), GetLastError() returns 0 instead of ERROR_INSUFFICIENT_BUFFER (122). A fix is to use a `const DWORD` for the error immediately after the SetupDiGetDeviceInterfaceDetail() call. Possibly a compiler issue. Target toolchain is: gcc version 5.3.0 (i686-posix-dwarf-rev0, Built by MinGW-W64 project) Change-Id: Id197201e9e161f7240c339231990196f58cb87eb Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/bluetooth/qbluetoothtransferrequest_p.h')
0 files changed, 0 insertions, 0 deletions