Subject: re: kern/36556: sys/dev/biovar.h defines bv_size and bd_size as size_t which can be only 32 bits
To: None <gnats-bugs@NetBSD.org>
From: matthew green <mrg@eterna.com.au>
List: netbsd-bugs
Date: 06/26/2007 05:29:37
   	
   	
     The bd_size and bv_size fields should be defined as ssize_t or off_t
     (I'm not sure what the correct definition of ssize_t is, but off_t
     is used for 64 bit offsets).


size_t is as wrong as ssize_t - they are the same size, just different
signedness.  i would use some explicit 64 bit value instead of off_t.


.mrg.