From: José Fonseca Date: Wed, 9 Nov 2011 09:08:58 +0000 (+0000) Subject: glu: Fix deprecated conversion from string constant to ‘char*’ warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b8ee08248c08d8841d3352fdef5844d58d8bc46;p=mesa.git glu: Fix deprecated conversion from string constant to ‘char*’ warning. --- diff --git a/src/glu/sgi/libnurbs/internals/bin.cc b/src/glu/sgi/libnurbs/internals/bin.cc index ff75b86bedc..d85bd80dc8b 100644 --- a/src/glu/sgi/libnurbs/internals/bin.cc +++ b/src/glu/sgi/libnurbs/internals/bin.cc @@ -119,7 +119,7 @@ Bin::adopt() */ void -Bin::show( char *name ) +Bin::show( const char *name ) { #ifndef NDEBUG _glu_dprintf( "%s\n", name ); diff --git a/src/glu/sgi/libnurbs/internals/bin.h b/src/glu/sgi/libnurbs/internals/bin.h index 2f976eb9bd2..dd0f878f60e 100644 --- a/src/glu/sgi/libnurbs/internals/bin.h +++ b/src/glu/sgi/libnurbs/internals/bin.h @@ -57,7 +57,7 @@ public: int numarcs( void ); void adopt( void ); void markall( void ); - void show( char * ); + void show( const char * ); void listBezier( void ); };