From 8f0de1d90df8a1cb356290b0bdaa75ce5000c37d Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Sun, 19 Apr 2015 17:59:07 +0900
Subject: [PATCH 3/6] Fix GCC 5 narrowing conversion warning.
---
src/add-ons/kernel/bus_managers/firewire/fwohci.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/add-ons/kernel/bus_managers/firewire/fwohci.cpp b/src/add-ons/kernel/bus_managers/firewire/fwohci.cpp
index e79b1ae..d8a6301 100644
a
|
b
|
char fwohcicode[32][0x20]={
|
87 | 87 | |
88 | 88 | #define MAX_SPEED 3 |
89 | 89 | extern const char *const linkspeed[]; |
90 | | uint32_t tagbit[4] = { 1 << 28, 1 << 29, 1 << 30, 1 << 31}; |
| 90 | uint32_t tagbit[4] = { 1 << 28, 1 << 29, 1 << 30, (uint32_t)(1 << 31)}; |
91 | 91 | |
92 | 92 | static struct tcode_info tinfo[] = { |
93 | 93 | /* hdr_len block flag valid_response */ |