Changeset 10014

Show
Ignore:
Timestamp:
04/10/09 11:16:37 (5 years ago)
Author:
robert
Message:

From Santosh Gaikwad, warning fixes

Location:
OpenSceneGraph/trunk/src/osgPlugins/ply
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ply/ply.h

    r10012 r10014  
    7070typedef struct PlyProperty {    /* description of a property */ 
    7171 
    72   char *name;                           /* property name */ 
     72  const char *name;                           /* property name */ 
    7373  int external_type;                    /* file's data type */ 
    7474  int internal_type;                    /* program's data type */ 
     
    151151extern PlyProperty **ply_get_element_description(PlyFile *, char *, int*, int*); 
    152152extern void ply_get_element_setup( PlyFile *, char *, int, PlyProperty *); 
    153 extern void ply_get_property(PlyFile *, char *, PlyProperty *); 
     153extern void ply_get_property(PlyFile *, const char *, PlyProperty *); 
    154154extern PlyOtherProp *ply_get_other_properties(PlyFile *, char *, int); 
    155155extern void ply_get_element(PlyFile *, void *); 
  • OpenSceneGraph/trunk/src/osgPlugins/ply/plyfile.cpp

    r10012 r10014  
    10601060void ply_get_property( 
    10611061  PlyFile *plyfile, 
    1062   char *elem_name, 
     1062  const char *elem_name, 
    10631063  PlyProperty *prop 
    10641064)