diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-07-22 05:58:05 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-07-27 05:04:11 -0400 |
commit | 1bcc69fb6a48edb3ddf2e8c42f1d1c242196bf74 (patch) | |
tree | 0399ebe11dc5a153d22acef24c67c27aa85eb0ab /tools/firewire/decode-fcp.c | |
parent | 9f6d3c4b76314c40c866a935d78c80fd284768bd (diff) |
tools/firewire: nosy-dump: fix it on x86-64
Replace 'unsigned long' and the (unaffected) 'unsigned int' by uint32_t
if they represent quadlets.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'tools/firewire/decode-fcp.c')
-rw-r--r-- | tools/firewire/decode-fcp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/firewire/decode-fcp.c b/tools/firewire/decode-fcp.c index cb9a31b37530..b6b372537618 100644 --- a/tools/firewire/decode-fcp.c +++ b/tools/firewire/decode-fcp.c | |||
@@ -158,12 +158,12 @@ static const struct avc_opcode_info opcode_info[256] = { | |||
158 | }; | 158 | }; |
159 | 159 | ||
160 | struct avc_frame { | 160 | struct avc_frame { |
161 | unsigned int operand0 : 8; | 161 | uint32_t operand0:8; |
162 | unsigned int opcode : 8; | 162 | uint32_t opcode:8; |
163 | unsigned int subunit_id : 3; | 163 | uint32_t subunit_id:3; |
164 | unsigned int subunit_type : 5; | 164 | uint32_t subunit_type:5; |
165 | unsigned int ctype : 4; | 165 | uint32_t ctype:4; |
166 | unsigned int cts : 4; | 166 | uint32_t cts:4; |
167 | }; | 167 | }; |
168 | 168 | ||
169 | static void | 169 | static void |