From owner-cvs-all Tue Mar 5 1:37:35 2002 Delivered-To: cvs-all@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id D437337B400; Tue, 5 Mar 2002 01:37:25 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g259bNF47921; Tue, 5 Mar 2002 09:37:23 GMT (envelope-from mark@grimreaper.grondar.za) Received: from grimreaper (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.2/8.12.2) with ESMTP id g259VMRV071262; Tue, 5 Mar 2002 09:31:22 GMT (envelope-from mark@grimreaper.grondar.za) Message-Id: <200203050931.g259VMRV071262@grimreaper.grondar.org> To: obrien@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys random.h src/sys/dev/random harvest.c hash.c hash.h randomdev.c randomdev.h yarrow.c References: <20020304165027.A38109@dragon.nuxi.com> In-Reply-To: <20020304165027.A38109@dragon.nuxi.com> ; from "David O'Brien" "Mon, 04 Mar 2002 16:50:27 PST." Date: Tue, 05 Mar 2002 09:31:22 +0000 From: Mark Murray Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > - for (i = 0; i < count; i+= sizeof(u_long)) { > + for (i = 0; i < count; i+= (size_t)sizeof(u_long)) { > > Why is this needed?? sizeof already has a type of "size_t". > This looks like more obfuscation just to quiet Lint. D'uh. It is a mistake. I'll remove it. M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message