From Santosh Gaikwad, warning fixes
This commit is contained in:
parent
cb3d43a575
commit
faa50c0962
@ -69,7 +69,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef struct PlyProperty { /* description of a property */
|
typedef struct PlyProperty { /* description of a property */
|
||||||
|
|
||||||
char *name; /* property name */
|
const char *name; /* property name */
|
||||||
int external_type; /* file's data type */
|
int external_type; /* file's data type */
|
||||||
int internal_type; /* program's data type */
|
int internal_type; /* program's data type */
|
||||||
int offset; /* offset bytes of prop in a struct */
|
int offset; /* offset bytes of prop in a struct */
|
||||||
@ -150,7 +150,7 @@ extern PlyFile *ply_read(FILE *, int *, char ***);
|
|||||||
extern PlyFile *ply_open_for_reading( char *, int *, char ***, int *, float *);
|
extern PlyFile *ply_open_for_reading( char *, int *, char ***, int *, float *);
|
||||||
extern PlyProperty **ply_get_element_description(PlyFile *, char *, int*, int*);
|
extern PlyProperty **ply_get_element_description(PlyFile *, char *, int*, int*);
|
||||||
extern void ply_get_element_setup( PlyFile *, char *, int, PlyProperty *);
|
extern void ply_get_element_setup( PlyFile *, char *, int, PlyProperty *);
|
||||||
extern void ply_get_property(PlyFile *, char *, PlyProperty *);
|
extern void ply_get_property(PlyFile *, const char *, PlyProperty *);
|
||||||
extern PlyOtherProp *ply_get_other_properties(PlyFile *, char *, int);
|
extern PlyOtherProp *ply_get_other_properties(PlyFile *, char *, int);
|
||||||
extern void ply_get_element(PlyFile *, void *);
|
extern void ply_get_element(PlyFile *, void *);
|
||||||
extern char **ply_get_comments(PlyFile *, int *);
|
extern char **ply_get_comments(PlyFile *, int *);
|
||||||
|
@ -1059,7 +1059,7 @@ Entry:
|
|||||||
|
|
||||||
void ply_get_property(
|
void ply_get_property(
|
||||||
PlyFile *plyfile,
|
PlyFile *plyfile,
|
||||||
char *elem_name,
|
const char *elem_name,
|
||||||
PlyProperty *prop
|
PlyProperty *prop
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user