[SCSI] aacraid: resolve compiler warnings using ptrdiff_t
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>
Tue, 27 Mar 2007 19:07:28 +0000 (15:07 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 1 Apr 2007 15:25:21 +0000 (10:25 -0500)
Unsigned long is not always the same size as a pointer, namely on 32 bit
systems with 64 bit address space. Ptrdiff_t is the same size as a
pointer in all configurations. By using ptrdiff_t we can mitigate the
warning messages on these configurations. There should be no side
effects of this patch.

Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found