From owner-cvs-src@FreeBSD.ORG Sun Aug 8 01:52:02 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 2184F16A4CE; Sun, 8 Aug 2004 01:52:02 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C4B643D3F; Sun, 8 Aug 2004 01:52:01 +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 i781psXA006535; Sun, 8 Aug 2004 05:51:54 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.13.1/8.13.1/Submit) id i781pssO006534; Sun, 8 Aug 2004 05:51:54 +0400 (MSD) (envelope-from ache) Date: Sun, 8 Aug 2004 05:51:52 +0400 From: Andrey Chernov To: Tim Kientzle , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20040808015152.GB6397@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> <20040808014858.GA6397@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040808014858.GA6397@nagual.pp.ru> 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) 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:52:02 -0000 On Sun, Aug 08, 2004 at 05:49:00AM +0400, Andrey Chernov wrote: > > int is wrong choice. > wchar_t >= size of char, =< size of long To be more specific, even all bits of long can be occuped, so most safe type for conversion will be unsigned long -- Andrey Chernov | http://ache.pp.ru/