[Mesa-dev] [PATCH 3/3] gallium: Fix compiler warning.

Jan Vesely jan.vesely at rutgers.edu
Fri Aug 1 13:36:14 PDT 2014


On Mon, 2014-07-28 at 10:56 -0600, Brian Paul wrote:
> On 07/25/2014 08:33 AM, Jan Vesely wrote:
> > warning: type qualifiers ignored on function return type
> >
> > Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> > ---
> >   src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +-
> >   src/gallium/auxiliary/tgsi/tgsi_ureg.h | 2 +-
> >   2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> > index 39216e5..dcf0cb5 100644
> > --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> > +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> > @@ -1808,7 +1808,7 @@ no_ureg:
> >   }
> >
> >
> > -const unsigned
> > +unsigned
> >   ureg_get_nr_outputs( const struct ureg_program *ureg )
> >   {
> >      if (!ureg)
> > diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
> > index 2c3746c..f014b53 100644
> > --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
> > +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
> > @@ -115,7 +115,7 @@ ureg_get_tokens( struct ureg_program *ureg,
> >   /*
> >    * Returns the number of currently declared outputs.
> >    */
> > -const unsigned
> > +unsigned
> >   ureg_get_nr_outputs( const struct ureg_program *ureg );
> >
> >
> >
> 
> Reviewed-by: Brian Paul <brianp at vmware.com>
> 
Thank you. Can you push these as well? I don't have commit access

Jan

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140801/af346ccd/attachment.sig>


More information about the mesa-dev mailing list