glu: Fix deprecated conversion from string constant to ‘char*’ warning.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 9 Nov 2011 09:08:58 +0000 (09:08 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 9 Nov 2011 10:24:37 +0000 (10:24 +0000)
src/glu/sgi/libnurbs/internals/bin.cc
src/glu/sgi/libnurbs/internals/bin.h

index ff75b86bedcaeab70e5ee1130cd32386ec904834..d85bd80dc8bef4cd580163708b685b0c581ba7d8 100644 (file)
@@ -119,7 +119,7 @@ Bin::adopt()
  */
 
 void
-Bin::show( char *name )
+Bin::show( const char *name )
 {
 #ifndef NDEBUG
     _glu_dprintf( "%s\n", name );
index 2f976eb9bd24e7c87a597424d6797014b519cd49..dd0f878f60e0fa4b5c1cd62daeb365dc027ad041 100644 (file)
@@ -57,7 +57,7 @@ public:
     int                        numarcs( void );
     void               adopt( void );
     void               markall( void );
-    void               show( char * );
+    void               show( const char * );
     void               listBezier( void );
 };