lkml.org 
[lkml]   [2008]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 13/12] sound: au88x0_core.c fix incorrect signedness warnings
> 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


\
 
 \ /
  Last update: 2008-02-28 12:13    [W:0.253 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site