hyanantha               Thu Oct 24 07:16:38 2002 EDT

  Modified files:              (Branch: PHP_4_2_0)
    /php4/ext/standard  html.c 
  Log:
  NetWare related changes/modifications.
  
  
Index: php4/ext/standard/html.c
diff -u php4/ext/standard/html.c:1.41.2.1 php4/ext/standard/html.c:1.41.2.2
--- php4/ext/standard/html.c:1.41.2.1   Wed Mar 20 11:08:04 2002
+++ php4/ext/standard/html.c    Thu Oct 24 07:16:38 2002
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: html.c,v 1.41.2.1 2002/03/20 16:08:04 sesser Exp $ */
+/* $Id: html.c,v 1.41.2.2 2002/10/24 11:16:38 hyanantha Exp $ */
 
 #include "php.h"
 #include "reg.h"
@@ -451,8 +451,8 @@
 
                        if (matches_map)        {
                                new[len++] = '&';
-                               strcpy(new + len, rep);
-                               len += strlen(rep);
+                               strcpy(new + len, (const char*)rep);    /* 
+Type-casting done due to NetWare */
+                               len += strlen((const char*)rep);        /* 
+Type-casting done due to NetWare */
                                new[len++] = ';';
                        }
                }
@@ -503,7 +503,7 @@
                return;
        }
 
-       new = php_escape_html_entities(str, str_len, &len, all, quote_style, 
hint_charset);
+       new = php_escape_html_entities((unsigned char*)str, str_len, &len, all, 
+quote_style, hint_charset);             /* Type-casting done due to NetWare */
        RETVAL_STRINGL(new, len, 0);
 }
 /* }}} */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to