summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/constants.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/constants.c')
-rw-r--r--drivers/scsi/constants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/constants.c b/drivers/scsi/constants.c
index b7e44fda5..793cfc805 100644
--- a/drivers/scsi/constants.c
+++ b/drivers/scsi/constants.c
@@ -78,7 +78,7 @@ static const char vendor[] = "VENDOR SPECIFIC";
static void print_opcode(int opcode) {
const char **table = commands[ group(opcode) ];
- switch ((int) table) {
+ switch ((unsigned long) table) {
case RESERVED_GROUP:
printk("%s(0x%02x) ", reserved, opcode);
break;