]> mj.ucw.cz Git - libucw.git/blobdiff - charset/mp-charconv.c
XML: Fixed reporting of characters via the PULL interface.
[libucw.git] / charset / mp-charconv.c
index ef0adf951c83a0b5de0a026763bccb5b1c7f0a06..7c18d40f90fee7255c8e3f75714189ddfe205331 100644 (file)
@@ -13,7 +13,7 @@
 #include <alloca.h>
 
 byte *
-mp_strconv(struct mempool *mp, byte *s, uns in_cs, uns out_cs)
+mp_strconv(struct mempool *mp, const byte *s, uns in_cs, uns out_cs)
 {
   if (in_cs == out_cs)
     return mp_strdup(mp, s);