commit | 4dfb7cbef856689caebd0f498dbd140d1b79954f | [log] [tgz] |
---|---|---|
author | Salyzyn, Mark <mark_salyzyn@adaptec.com> | Tue Mar 27 15:07:28 2007 -0400 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Sun Apr 01 10:25:21 2007 -0500 |
tree | ce9ee4971a82f8b15e9e4c03b0beef4138c1deb2 | |
parent | 10c9a017f1bd84a7aedaea7029cd5224863197db [diff] |
[SCSI] aacraid: resolve compiler warnings using ptrdiff_t 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>