Fixed CHAR, errno, alpha RPM compile, updated doc, Daniel
diff --git a/HTMLtree.c b/HTMLtree.c
index b00c300..4e21c0f 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -67,7 +67,7 @@
  */
 static void
 htmlAttrDump(xmlBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur) {
-    CHAR *value;
+    xmlChar *value;
 
     if (cur == NULL) {
         fprintf(stderr, "htmlAttrDump : property == NULL\n");
@@ -149,7 +149,7 @@
      */
     if (cur->type == HTML_TEXT_NODE) {
 	if (cur->content != NULL) {
-            CHAR *buffer;
+            xmlChar *buffer;
 
 	    /* uses the HTML encoding routine !!!!!!!!!! */
             buffer = xmlEncodeEntitiesReentrant(doc, cur->content);
@@ -211,7 +211,7 @@
     }
     xmlBufferWriteChar(buf, ">");
     if (cur->content != NULL) {
-	CHAR *buffer;
+	xmlChar *buffer;
 
 	buffer = xmlEncodeEntitiesReentrant(doc, cur->content);
 	if (buffer != NULL) {
@@ -261,11 +261,11 @@
  * @mem:  OUT: the memory pointer
  * @size:  OUT: the memory lenght
  *
- * Dump an HTML document in memory and return the CHAR * and it's size.
+ * Dump an HTML document in memory and return the xmlChar * and it's size.
  * It's up to the caller to free the memory.
  */
 void
-htmlDocDumpMemory(xmlDocPtr cur, CHAR**mem, int *size) {
+htmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size) {
     xmlBufferPtr buf;
 
     if (cur == NULL) {
@@ -342,6 +342,6 @@
     fclose(output);
 
     xmlBufferFree(buf);
-    return(ret * sizeof(CHAR));
+    return(ret * sizeof(xmlChar));
 }