NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/42091: ld devices can't be set up with more than 2^31 sectors



The following reply was made to PR port-amd64/42091; it has been noted by GNATS.

From: "Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-amd64/42091: ld devices can't be set up with more than
 2^31 sectors
Date: Wed, 25 Nov 2009 02:13:36 +0000

 Changing the "rv = (int) ..." lines in interact.c:getnum() to "rv =
 (uint32_t) ..." fixes the problem on a (virtual) 1.5TB drive for me.
 But it looks like much of that file isn't perfectly unsigned-safe.
 


Home | Main Index | Thread Index | Old Index