kern/175759: Correct data types for fields of struct qm_trace{} from <sys/queue.h>

Andrey Simonenko simon at comsys.ntu-kpi.kiev.ua
Fri Feb 1 14:10:01 UTC 2013


The following reply was made to PR kern/175759; it has been noted by GNATS.

From: Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
To: Gleb Smirnoff <glebius at FreeBSD.org>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: kern/175759: Correct data types for fields of struct qm_trace{}
 from <sys/queue.h>
Date: Fri, 1 Feb 2013 16:03:15 +0200

 On Fri, Feb 01, 2013 at 03:49:07PM +0200, Andrey Simonenko wrote:
 > 
 > Even if we assume that INT_MAX is bigger that 2^31-1 then specifying
 > "unsigned long" in that structure (without changing the order of its fields)
 > will not change its size on i386 and amd64.
 
 Typos correction:
 
 Even if we assume that INT_MAX is equal to 2^31-1 then specifying
 "unsigned long" in that structure (without changing the order of its fields)
 will not change its size on i386 and amd64.


More information about the freebsd-bugs mailing list