Browse Source

NCDValue_InitString: take a const string

ambrop7 15 years ago
parent
commit
836b93e805
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ncd/NCDValue.c

+ 1 - 1
ncd/NCDValue.c

@@ -114,7 +114,7 @@ int NCDValue_Type (NCDValue *o)
     return o->type;
     return o->type;
 }
 }
 
 
-int NCDValue_InitString (NCDValue *o, char *str)
+int NCDValue_InitString (NCDValue *o, const char *str)
 {
 {
     size_t len = strlen(str);
     size_t len = strlen(str);