]> err.no Git - linux-2.6/commit
ncpfs: fix sparse warning in ncpsign_kernel.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Mon, 28 Apr 2008 09:14:01 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:29 +0000 (08:58 -0700)
commiteee3754f5e45bd27e001ea41823bdbcdd0d192d4
tree2e8d4d184842fd0fb93b27e1faccede453544c45
parent305787e44ebc21d87ab4d4949da5b97d4252aa9b
ncpfs: fix sparse warning in ncpsign_kernel.c

We're casting anyway, might as well cast to the correct sign.
Specific to i386 (ifdef __i386__)

fs/ncpfs/ncpsign_kernel.c:58:23: warning: incorrect type in initializer (different signedness)
fs/ncpfs/ncpsign_kernel.c:58:23:    expected unsigned int *data2
fs/ncpfs/ncpsign_kernel.c:58:23:    got int *<noident>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Petr Vandrovec <VANDROVE@vc.cvut.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ncpfs/ncpsign_kernel.c