Commits

Shlomi Fish committed 959e474

Change char * to xmlChar *.

Thanks to H. Merijn Brand.

  • Participants
  • Parent commits 605251c

Comments (0)

Files changed (2)

 
     - Add libxml2 2.7.8 as tested and working fine for the Makefile.PL.
     (Thanks to H. Merijn Brand.).
+    - Apply a patch to perl-libxml-sax.c to use xmlChat * instead of char *.
+    (Thanks to H. Merijn Brand.).
 
 1.87            Sat Aug 27 14:05:37 IDT 2011
     - Fix t/49callbacks_returning_undef.t to not read /etc/passed which may

File perl-libxml-sax.c

 }
 
 void CBufferAppend(struct CBuffer *buffer, const xmlChar *newstring, int len) {
-	char *copy = xmlMalloc(len);
+	xmlChar *copy = xmlMalloc(len);
 
 	memcpy(copy, newstring, len);
 
 xmlChar * CBufferCharacters(struct CBuffer *buffer) {
 	int length = CBufferLength(buffer);
 	xmlChar *new = xmlMalloc(length + 1);
-	char *p = new;
+	xmlChar *p = new;
 	int copied = 0;
 	struct CBufferChunk *cur;