aboutsummaryrefslogtreecommitdiffstats
path: root/ext/syck/implicit.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/implicit.c')
-rw-r--r--ext/syck/implicit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/syck/implicit.c b/ext/syck/implicit.c
index 92a31d8006..58abfc9769 100644
--- a/ext/syck/implicit.c
+++ b/ext/syck/implicit.c
@@ -20,7 +20,7 @@
void
try_tag_implicit( SyckNode *n, int taguri )
{
- char *tid = "";
+ const char *tid = "";
switch ( n->kind )
{
case syck_str_kind:
@@ -44,9 +44,10 @@ try_tag_implicit( SyckNode *n, int taguri )
}
}
-char *syck_match_implicit( char *str, size_t len )
+const char *
+syck_match_implicit( const char *str, size_t len )
{
- char *cursor, *limit, *marker;
+ const char *cursor, *limit, *marker;
cursor = str;
limit = str + len;