svn commit: r203058 - head/sys/dev/ata/chipsets

Alexander Motin mav at FreeBSD.org
Wed Jan 27 06:28:16 UTC 2010


Author: mav
Date: Wed Jan 27 06:28:16 2010
New Revision: 203058
URL: http://svn.freebsd.org/changeset/base/203058

Log:
  Add one more type cast, missed in r203043.

Modified:
  head/sys/dev/ata/chipsets/ata-promise.c

Modified: head/sys/dev/ata/chipsets/ata-promise.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-promise.c	Wed Jan 27 02:58:03 2010	(r203057)
+++ head/sys/dev/ata/chipsets/ata-promise.c	Wed Jan 27 06:28:16 2010	(r203058)
@@ -628,7 +628,7 @@ ata_promise_mio_status(device_t dev)
     }
 
     /* read and acknowledge interrupt */
-    vector = (uint32_t)ctlr->chipset_data;
+    vector = (uint32_t)(uintptr_t)ctlr->chipset_data;
 
     /* read and clear interface status */
     status = ATA_INL(ctlr->r_res2, stat_reg);


More information about the svn-src-head mailing list