httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/regex engine.c regcomp.c
Date Sun, 20 Jan 2002 21:39:39 GMT
wrowe       02/01/20 13:39:39

  Modified:    src/regex engine.c regcomp.c
  Log:
    Resolve 12 compiler emits for signedness.  These turn out to be trivial,
    since i is only used as an unsigned zero-based index.
  
  Revision  Changes    Path
  1.6       +1 -1      apache-1.3/src/regex/engine.c
  
  Index: engine.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/regex/engine.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- engine.c	13 Jul 1998 11:32:52 -0000	1.5
  +++ engine.c	20 Jan 2002 21:39:39 -0000	1.6
  @@ -72,7 +72,7 @@
   int eflags;
   {
   	register char *endp;
  -	register int i;
  +	register size_t i;
   	struct match mv;
   	register struct match *m = &mv;
   	register char *dp;
  
  
  
  1.12      +4 -4      apache-1.3/src/regex/regcomp.c
  
  Index: regcomp.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/regex/regcomp.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- regcomp.c	6 Dec 1999 22:17:03 -0000	1.11
  +++ regcomp.c	20 Jan 2002 21:39:39 -0000	1.12
  @@ -1093,7 +1093,7 @@
   register struct parse *p;
   register cset *cs;
   {
  -	register int i;
  +	register size_t i;
   	register cset *top = &p->g->sets[p->g->ncsets];
   	register size_t css = (size_t)p->g->csetsize;
   
  @@ -1119,7 +1119,7 @@
   register cset *cs;
   {
   	register uch h = cs->hash;
  -	register int i;
  +	register size_t i;
   	register cset *top = &p->g->sets[p->g->ncsets];
   	register cset *cs2;
   	register size_t css = (size_t)p->g->csetsize;
  @@ -1152,7 +1152,7 @@
   register struct parse *p;
   register cset *cs;
   {
  -	register int i;
  +	register size_t i;
   	register size_t css = (size_t)p->g->csetsize;
   
   	for (i = 0; i < css; i++)
  @@ -1171,7 +1171,7 @@
   register struct parse *p;
   register cset *cs;
   {
  -	register int i;
  +	register size_t i;
   	register size_t css = (size_t)p->g->csetsize;
   	register int n = 0;
   
  
  
  

Mime
View raw message