Browse Source

[SCSI] aic94xx: fix pointer to integer conversion warning

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley 19 years ago
parent
commit
e138a5d235
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/scsi/aic94xx/aic94xx_scb.c

+ 1 - 1
drivers/scsi/aic94xx/aic94xx_scb.c

@@ -446,7 +446,7 @@ static void escb_tasklet_complete(struct asd_ascb *ascb,
 				continue;
 			dev = task->dev;
 
-			x = (u16)dev->lldd_dev;
+			x = (unsigned long)dev->lldd_dev;
 			if (x == conn_handle) {
 				dev_phy = dev->port->phy;
 				task_kill_later(a);