httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <...@raleigh.ibm.com>
Subject [PATCH] AIX compiler clean-ups....
Date Tue, 27 Jun 2000 21:23:46 GMT
More slight buglets, which xlC tripped over.

Index: src/main/http_core.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/main/http_core.c,v
retrieving revision 1.81
diff -u -r1.81 http_core.c
--- http_core.c 2000/06/24 17:33:55 1.81
+++ http_core.c 2000/06/27 21:22:35
@@ -2790,7 +2790,7 @@
 #ifdef USE_MMAP_FILES
     }
     else {
- char *addr;
+ unsigned char *addr;
         ap_mmap_offset((void**)&addr, mm ,0);
 
  if (d->content_md5 & 1) {
Index: src/support/htpasswd.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/support/htpasswd.c,v
retrieving revision 1.16
diff -u -r1.16 htpasswd.c
--- htpasswd.c 2000/06/12 15:29:09 1.16
+++ htpasswd.c 2000/06/27 21:22:36
@@ -222,7 +222,7 @@
         to64(&salt[0], rand(), 8);
         salt[8] = '\0';
 
- ap_MD5Encode((const unsigned char *)pw, (const unsigned char *)salt,
+ ap_MD5Encode((const char *)pw, (const char *)salt,
        cpw, sizeof(cpw));
  break;
 



Mime
View raw message