summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorKirill Simonov <xi@resolvent.net>2006-07-25 20:54:28 +0000
committerKirill Simonov <xi@resolvent.net>2006-07-25 20:54:28 +0000
commitcf6161665735051e6ebce2c5a105e2191e6d33fc (patch)
treeb7e66246c8189366cb689e54b23c79b79ead0f2e /src/parser.c
parentb1a54000b5f6bfc58221bbf6f9aa384c821264a3 (diff)
downloadlibyaml-git-cf6161665735051e6ebce2c5a105e2191e6d33fc.tar.gz
Add yaml_emitter_emit_* set of functions.
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index 020d5d6..ed3c019 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -1335,8 +1335,8 @@ yaml_parser_append_tag_directive(yaml_parser_t *parser,
}
}
- copy.handle = (yaml_char_t *)yaml_strdup((char *)value.handle);
- copy.prefix = (yaml_char_t *)yaml_strdup((char *)value.prefix);
+ copy.handle = yaml_strdup(value.handle);
+ copy.prefix = yaml_strdup(value.prefix);
if (!copy.handle || !copy.prefix) {
parser->error = YAML_MEMORY_ERROR;
goto error;