From owner-cvs-src@FreeBSD.ORG Sun Aug 8 01:49:11 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F67A16A4CE; Sun, 8 Aug 2004 01:49:11 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 701F243D3F; Sun, 8 Aug 2004 01:49:10 +0000 (GMT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.1/8.13.1) with ESMTP id i781n33h006487; Sun, 8 Aug 2004 05:49:03 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.13.1/8.13.1/Submit) id i781n3P9006481; Sun, 8 Aug 2004 05:49:03 +0400 (MSD) (envelope-from ache) Date: Sun, 8 Aug 2004 05:49:00 +0400 From: Andrey Chernov To: Tim Kientzle Message-ID: <20040808014858.GA6397@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Tim Kientzle , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200408080121.i781LAUs084350@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408080121.i781LAUs084350@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.26.0.10; VDF 6.26.0.63 (host: pobrecita.freebsd.ru) cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libarchive archive_read_support_format_tar.c archive_write_set_format_pax.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2004 01:49:11 -0000 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/