Diff for /rpl/src/asprintf.c between versions 1.42 and 1.43

version 1.42, 2013/02/27 17:11:39 version 1.43, 2013/03/20 17:11:43
Line 47  valsprintf(unsigned char **strp, const c Line 47  valsprintf(unsigned char **strp, const c
             return -1;              return -1;
         }          }
   
         if (((int) (s = vsnprintf(b, bs, fmt, cap))) < 0)          if (((int) (s = (size_t) vsnprintf(b, bs, fmt, cap))) < 0)
         {          {
             free(b);              free(b);
             return -1;              return -1;
Line 65  valsprintf(unsigned char **strp, const c Line 65  valsprintf(unsigned char **strp, const c
         return -1;          return -1;
     }      }
   
     return s;      return((int) s);
 }  }
   
   

Removed from v.1.42  
changed lines
  Added in v.1.43


CVSweb interface <joel.bertrand@systella.fr>