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

Diff for /mandoc/term.c between version 1.142 and 1.144

version 1.142, 2010/06/07 20:57:09 version 1.144, 2010/06/08 09:20:08
Line 22 
Line 22 
   
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
   #include <getopt.h>
 #include <stdint.h>  #include <stdint.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 315  alloc(char *outopts, enum termenc enc, enum termtype t
Line 316  alloc(char *outopts, enum termenc enc, enum termtype t
         while (outopts && *outopts)          while (outopts && *outopts)
                 switch (getsubopt(&outopts, UNCONST(toks), &v)) {                  switch (getsubopt(&outopts, UNCONST(toks), &v)) {
                 case (0):                  case (0):
                         width = atoi(v);                          width = (size_t)atoi(v);
                         break;                          break;
                 default:                  default:
                         break;                          break;

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.144

CVSweb