From: Salyzyn, Mark Date: Tue, 27 Mar 2007 19:07:28 +0000 (-0400) Subject: [SCSI] aacraid: resolve compiler warnings using ptrdiff_t X-Git-Tag: v2.6.22-rc1~1015^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dfb7cbef856689caebd0f498dbd140d1b79954f;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed