error checking for png
[libpicofe.git] / common / emu.c
index e88859b..0b8fdf7 100644 (file)
@@ -224,7 +224,7 @@ int emu_cdCheck(int *pregion)
        return type;\r
 }\r
 \r
-static int extract_text(char *dest, unsigned char *src, int len, int swab)\r
+static int extract_text(char *dest, const unsigned char *src, int len, int swab)\r
 {\r
        char *p = dest;\r
        int i;\r