summaryrefslogtreecommitdiffstats
path: root/polyp/tagstruct.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/tagstruct.c')
-rw-r--r--polyp/tagstruct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/tagstruct.c b/polyp/tagstruct.c
index 9578a9eb..742f6b9c 100644
--- a/polyp/tagstruct.c
+++ b/polyp/tagstruct.c
@@ -95,7 +95,7 @@ void pa_tagstruct_puts(struct pa_tagstruct*t, const char *s) {
l = strlen(s)+2;
extend(t, l);
t->data[t->length] = TAG_STRING;
- strcpy(t->data+t->length+1, s);
+ strcpy((char*) (t->data+t->length+1), s);
t->length += l;
}