diff options
author | José Fonseca <[email protected]> | 2011-11-09 09:08:58 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-11-09 10:24:37 +0000 |
commit | 9b8ee08248c08d8841d3352fdef5844d58d8bc46 (patch) | |
tree | d5a462d2d4f3c41b2c75c500be5684e8fe8e709b /src/glu/sgi/libnurbs | |
parent | 60302f83e2344195f9a1c37215def09fa9c45ff9 (diff) |
glu: Fix deprecated conversion from string constant to ‘char*’ warning.
Diffstat (limited to 'src/glu/sgi/libnurbs')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/bin.cc | 2 | ||||
-rw-r--r-- | src/glu/sgi/libnurbs/internals/bin.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 ); }; |