httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/modules/aaa mod_auth_digest.c
Date Tue, 29 Jan 2002 00:23:31 GMT
bnicholes    02/01/28 16:23:31

  Modified:    modules/aaa mod_auth_digest.c
  Log:
  Added some type casting to the appropriate types to avoid type mismatches
  on the CodeWarrior compiler
  
  Revision  Changes    Path
  1.59      +3 -3      httpd-2.0/modules/aaa/mod_auth_digest.c
  
  Index: mod_auth_digest.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_digest.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- mod_auth_digest.c	10 Jan 2002 02:58:10 -0000	1.58
  +++ mod_auth_digest.c	29 Jan 2002 00:23:30 -0000	1.59
  @@ -774,7 +774,7 @@
               client_list->table[idx] = NULL;
           }
           if (entry) {                    /* remove entry */
  -            apr_rmm_free(client_rmm, entry);
  +            apr_rmm_free(client_rmm, (apr_rmm_off_t)entry);
               num_removed++;
           }
       }
  @@ -810,7 +810,7 @@
   
       /* try to allocate a new entry */
   
  -    entry = apr_rmm_malloc(client_rmm, sizeof(client_entry));
  +    entry = (client_entry *)apr_rmm_malloc(client_rmm, sizeof(client_entry));
       if (!entry) {
           long num_removed = gc();
           ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, s,
  @@ -819,7 +819,7 @@
                        "%ld", num_removed,
                        client_list->num_created - client_list->num_renewed,
                        client_list->num_removed, client_list->num_renewed);
  -        entry = apr_rmm_malloc(client_rmm, sizeof(client_entry));
  +        entry = (client_entry *)apr_rmm_malloc(client_rmm, sizeof(client_entry));
           if (!entry) {
               return NULL;       /* give up */
           }
  
  
  

Mime
View raw message