summaryrefslogtreecommitdiffstats
path: root/polyp/tagstruct.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-27 16:24:22 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-27 16:24:22 +0000
commit761a895d1f8ac3c20710a884560bc77f3789d3af (patch)
tree3955098b90a6de4ba9e505ce1c20972e5964c2e2 /polyp/tagstruct.c
parent92bf0a365a3a8390bb3f023458a9e62c31849628 (diff)
minor cleanups
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@155 fefdeb5f-60dc-0310-8127-8f9354f1896f
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;
}