You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fi...@hyperreal.org on 1999/08/14 11:31:06 UTC

cvs commit: apache-1.3/src/ap ap_md5c.c

fielding    99/08/14 02:31:05

  Modified:    src/ap   ap_md5c.c
  Log:
  Quiet warning -- strange that gcc doesn't auto-cast the literal string
  to match the argument type.
  
  Revision  Changes    Path
  1.30      +1 -1      apache-1.3/src/ap/ap_md5c.c
  
  Index: ap_md5c.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/ap/ap_md5c.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- ap_md5c.c	1999/08/14 08:35:45	1.29
  +++ ap_md5c.c	1999/08/14 09:31:04	1.30
  @@ -487,7 +487,7 @@
       /*
        * Then our magic string
        */
  -    ap_MD5Update(&ctx, AP_MD5PW_ID, AP_MD5PW_IDLEN);
  +    ap_MD5Update(&ctx, (const unsigned char *) AP_MD5PW_ID, AP_MD5PW_IDLEN);
   
       /*
        * Then the raw salt