Fix bugs in Windows' BluetoothAdapter

PiperOrigin-RevId: 452808916
This commit is contained in:
aaronyujiaze
2022-06-03 11:38:33 -07:00
committed by Copybara-Service
parent 4045af569f
commit bc6c726970
2 changed files with 2 additions and 1 deletions
@@ -429,7 +429,7 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
RegCloseKey(hKey);
// tells the control function to reset or reload or similar...
int32 reload = 4;
int32_t reload = 4;
// merely a placeholder
DWORD bytes = 0;
@@ -17,6 +17,7 @@
#include <guiddef.h>
#include <functional>
#include <string>
#include "internal/platform/implementation/bluetooth_adapter.h"