[BACK]Return to term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/term.c between version 1.222 and 1.223

version 1.222, 2014/04/20 16:46:05 version 1.223, 2014/04/23 21:06:41
Line 522  adjbuf(struct termp *p, size_t sz)
Line 522  adjbuf(struct termp *p, size_t sz)
         while (sz >= p->maxcols)          while (sz >= p->maxcols)
                 p->maxcols <<= 2;                  p->maxcols <<= 2;
   
         p->buf = mandoc_realloc(p->buf, sizeof(int) * p->maxcols);          p->buf = mandoc_reallocarray(p->buf, p->maxcols, sizeof(int));
 }  }
   
 static void  static void

Legend:
Removed from v.1.222  
changed lines
  Added in v.1.223

CVSweb