Index: device/usb/usb_device_handle_impl.cc |
diff --git a/device/usb/usb_device_handle_impl.cc b/device/usb/usb_device_handle_impl.cc |
index 1ae86092d830ae57d4d6060da5097c6ee9549d67..781d8b67c2ce384684fb193223e1f27ad2133628 100644 |
--- a/device/usb/usb_device_handle_impl.cc |
+++ b/device/usb/usb_device_handle_impl.cc |
@@ -862,7 +862,7 @@ void UsbDeviceHandleImpl::ClaimInterfaceComplete( |
interface_claimer; |
RefreshEndpointMap(); |
} |
- callback.Run(interface_claimer); |
+ callback.Run(static_cast<bool>(interface_claimer)); |
} |
void UsbDeviceHandleImpl::SetInterfaceAlternateSettingOnBlockingThread( |