diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2008-09-13 14:20:14 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-13 14:20:14 -0600 |
commit | 6e51febc6b4ab92588c27bc9a2754d940baadeef (patch) | |
tree | bdadd6c9372510208610cc60542addbe4a490f17 /src/glu/sgi/libnurbs/internals/bufpool.h | |
parent | 8db761409dadc2e899d4e7107eff3aa07b07aa11 (diff) |
GLU: fix asst warnings
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/bufpool.h')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/bufpool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/sgi/libnurbs/internals/bufpool.h b/src/glu/sgi/libnurbs/internals/bufpool.h index 02e4ff247b..b48c4404f8 100644 --- a/src/glu/sgi/libnurbs/internals/bufpool.h +++ b/src/glu/sgi/libnurbs/internals/bufpool.h @@ -55,7 +55,7 @@ class Buffer { class Pool { public: - Pool( int, int, char * ); + Pool( int, int, const char * ); ~Pool( void ); inline void* new_buffer( void ); inline void free_buffer( void * ); @@ -74,7 +74,7 @@ protected: int nextfree; /* byte offset past next free buffer */ int initsize; enum Magic { is_allocated = 0xf3a1, is_free = 0xf1a2 }; - char *name; /* name of the pool */ + const char *name; /* name of the pool */ Magic magic; /* marker for valid pool */ }; |