]> code.delx.au - pulseaudio/blobdiff - src/modules/rtp/headerlist.c
Some misc fixes. consts, base64 optimisation (not that it will be with us long anyway...
[pulseaudio] / src / modules / rtp / headerlist.c
index 8bdc7251d8af1d99ed56bccb499a1937c5409572..de8710b7e3d5845aa4d0f528f2af0f413c3461e2 100644 (file)
@@ -102,7 +102,7 @@ int pa_headerlist_putsappend(pa_headerlist *p, const char *key, const char *valu
         hdr->value = pa_xstrdup(value);
         add = TRUE;
     } else {
-        void *newval = (void*)pa_sprintf_malloc("%s%s", (char*)hdr->value, value);
+        void *newval = pa_sprintf_malloc("%s%s", (char*)hdr->value, value);
         pa_xfree(hdr->value);
         hdr->value = newval;
     }