apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/memory/unix apr_sms_blocks.c
Date Thu, 21 Jun 2001 11:33:56 GMT
trawick     01/06/21 04:33:55

  Modified:    memory/unix apr_sms_blocks.c
  Log:
  Fix some invalid lvalue casts.  These weren't acceptable to
  the native compilers on HP-UX and AIX.
  
  Revision  Changes    Path
  1.8       +2 -2      apr/memory/unix/apr_sms_blocks.c
  
  Index: apr_sms_blocks.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_sms_blocks.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- apr_sms_blocks.c	2001/06/21 00:46:12	1.7
  +++ apr_sms_blocks.c	2001/06/21 11:33:54	1.8
  @@ -132,7 +132,7 @@
       BLOCK_T(mem)->nxt = (char*)SMS_BLOCKS_T(sms)->alloc_list;
       SMS_BLOCKS_T(sms)->alloc_list = mem;
       SMS_BLOCKS_T(sms)->endp = (char *)mem + SMS_BLOCKS_T(sms)->alloc_sz;
  -    (char *)mem += SIZEOF_BLOCK_T;
  +    mem = (char *)mem + SIZEOF_BLOCK_T;
       SMS_BLOCKS_T(sms)->ptr = (char *)mem + SMS_BLOCKS_T(sms)->block_sz;
   
       if (SMS_BLOCKS_T(sms)->alloc_list->nxt) {
  @@ -180,7 +180,7 @@
       BLOCK_T(mem)->nxt = (char*)SMS_BLOCKS_T(sms)->alloc_list;
       SMS_BLOCKS_T(sms)->alloc_list = mem;
       SMS_BLOCKS_T(sms)->endp = (char *)mem + SMS_BLOCKS_T(sms)->alloc_sz;
  -    (char *)mem += SIZEOF_BLOCK_T;
  +    mem = (char *)mem + SIZEOF_BLOCK_T;
       SMS_BLOCKS_T(sms)->ptr = (char *)mem + SMS_BLOCKS_T(sms)->block_sz;
   
       if (SMS_BLOCKS_T(sms)->alloc_list->nxt) {
  
  
  

Mime
View raw message