httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.3/src/main buff.c
Date Wed, 01 Apr 1998 01:31:13 GMT
dgaudet     98/03/31 17:31:13

  Modified:    src/main buff.c
  Log:
  clean up "Pointers are not assignment-compatible." on hpux... I hate
  this char vs unsigned char crap.
  
  Revision  Changes    Path
  1.71      +6 -6      apache-1.3/src/main/buff.c
  
  Index: buff.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/buff.c,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- buff.c	1998/03/31 12:52:40	1.70
  +++ buff.c	1998/04/01 01:31:12	1.71
  @@ -1465,8 +1465,8 @@
   	    return -1;
   	}
       }
  -    vbuff->curpos = &fb->outbase[fb->outcnt];
  -    vbuff->endpos = &fb->outbase[fb->bufsiz];
  +    vbuff->curpos = (char *)&fb->outbase[fb->outcnt];
  +    vbuff->endpos = (char *)&fb->outbase[fb->bufsiz];
       return 0;
   }
   
  @@ -1476,8 +1476,8 @@
       int res;
       struct bprintf_data b;
   
  -    b.vbuff.curpos = &fb->outbase[fb->outcnt];
  -    b.vbuff.endpos = &fb->outbase[fb->bufsiz];
  +    b.vbuff.curpos = (char *)&fb->outbase[fb->outcnt];
  +    b.vbuff.endpos = (char *)&fb->outbase[fb->bufsiz];
       b.fb = fb;
       va_start(ap, fmt);
       res = ap_vformatter(bprintf_flush, &b.vbuff, fmt, ap);
  @@ -1493,8 +1493,8 @@
       struct bprintf_data b;
       int res;
   
  -    b.vbuff.curpos = &fb->outbase[fb->outcnt];
  -    b.vbuff.endpos = &fb->outbase[fb->bufsiz];
  +    b.vbuff.curpos = (char *)&fb->outbase[fb->outcnt];
  +    b.vbuff.endpos = (char *)&fb->outbase[fb->bufsiz];
       b.fb = fb;
       res = ap_vformatter(bprintf_flush, &b.vbuff, fmt, ap);
       if (res != -1) {
  
  
  

Mime
View raw message