Re: [PATCH 13/12] sound: au88x0_core.c fix incorrect signedness warnings
From: Takashi Iwai
Date: Thu Feb 28 2008 - 06:11:18 EST
> Subject: Re: [PATCH 13/12] sound: au88x0_core.c fix incorrect signedness warnings
The patch overflow? ;-)
At Wed, 27 Feb 2008 17:06:43 -0800,
Harvey Harrison wrote:
>
> Fixes the following, repeated at every callsite, vortex->fixed_res is always
> passed in this argument, the change to unsigned int won't change anything.
>
> sound/pci/au88x0/au88x0_core.c:2047:54: warning: incorrect type in argument 2 (different signedness)
> sound/pci/au88x0/au88x0_core.c:2047:54: expected int *resmap
> sound/pci/au88x0/au88x0_core.c:2047:54: got unsigned int *<noident>
I thought this warning is rather a compiler issue. We had this with
some gcc version but it was suppressed as default in the end.
Fine to fix in the code as it's obviously correct, though.
thanks,
Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/