From f743dbbe091717ddef9b82465a0c2c23e21a9e16 Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Sun, 19 Jun 2016 11:04:50 +0900
Subject: [PATCH 10/10] Increase fScratchpadCount size
To fix clang's '-Wtautological-constant-out-of-range-compare' warnings in xhci.cpp.
---
src/add-ons/kernel/busses/usb/xhci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/add-ons/kernel/busses/usb/xhci.h b/src/add-ons/kernel/busses/usb/xhci.h
index fc2d028..3657c0c 100644
a
|
b
|
private:
|
242 | 242 | uint8 fPortSlots[XHCI_MAX_PORTS]; |
243 | 243 | |
244 | 244 | // Scratchpad |
245 | | uint8 fScratchpadCount; |
| 245 | uint32 fScratchpadCount; |
246 | 246 | area_id fScratchpadArea[XHCI_MAX_SCRATCHPADS]; |
247 | 247 | void * fScratchpad[XHCI_MAX_SCRATCHPADS]; |
248 | 248 | |