cvs commit: src/usr.sbin/asf asf.c

Yar Tikhiy yar at FreeBSD.org
Mon Jun 19 17:12:28 UTC 2006


yar         2006-06-19 17:12:25 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/asf         asf.c 
  Log:
  There is a plenty of arch's out there where sizeof(size_t) != sizeof(int).
  A field width in printf(3) must be int, so cast return value from strlen()
  to the type.
  
  Noticed by:     Andrzej Tobola <ato iem pw edu pl>; tinderbox
  Pointy hat to:  yar
  X-MFC with:     the rest of the new asf code
  
  Revision  Changes    Path
  1.10      +1 -1      src/usr.sbin/asf/asf.c


More information about the cvs-all mailing list