Subject: CVS commit: src/sys/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 09/26/2005 00:12:23
Module Name:	src
Committed By:	dyoung
Date:		Mon Sep 26 00:12:23 UTC 2005

Modified Files:
	src/sys/sys: malloc.h

Log Message:
De-lint:  assign MALLOC's argument, size, to a temporary unsigned
long, __size, before using it.  This quiets complaints when the
caller passes a 16-bit or 8-bit size---for example, in
ieee80211_node_attach, where it calls MALLOC(..., ic->ic_tim_len,
...).  I could not get any number of casts to quiet the complaint.


To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 src/sys/sys/malloc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.