cvs commit: src/lib/libarchive archive_read_support_format_tar.c archive_write_set_format_pax.c

Andrey Chernov ache at nagual.pp.ru
Sat Aug 7 18:49:11 PDT 2004


On Sun, Aug 08, 2004 at 01:21:10AM +0000, Tim Kientzle wrote:
> kientzle    2004-08-08 01:21:10 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libarchive       archive_read_support_format_tar.c 
>                          archive_write_set_format_pax.c 
>   Log:
>   Use 'int' for certain wide-character conversions instead of wchar_t.
>   That quiets some compiler warnings on platforms with 16-bit wchar_t.
>   With this change, libarchive now compiles cleanly on Win32/cygwin.

int is wrong choice.
wchar_t >= size of char, =< size of long  

-- 
Andrey Chernov | http://ache.pp.ru/


More information about the cvs-src mailing list