| Index: extensions/browser/api/usb/usb_api.cc
|
| diff --git a/extensions/browser/api/usb/usb_api.cc b/extensions/browser/api/usb/usb_api.cc
|
| index 2af2878a5ef0b59e664c3b73c9ada0c96d721fed..16710ddabbba41f9b003f5c6fed7d5b4cd442720 100644
|
| --- a/extensions/browser/api/usb/usb_api.cc
|
| +++ b/extensions/browser/api/usb/usb_api.cc
|
| @@ -1153,7 +1153,7 @@ ExtensionFunction::ResponseAction UsbIsochronousTransferFunction::Run() {
|
| }
|
|
|
| unsigned int packet_length = transfer.packet_length;
|
| - const uint64 total_length = packets * packet_length;
|
| + const uint64_t total_length = packets * packet_length;
|
| if (packets > size || total_length > size) {
|
| return RespondNow(Error(kErrorTransferLength));
|
| }
|
|
|