On Wed, Dec 12, 2001 at 01:36:10PM +0100, Alexander Stohr wrote: > - the number of pages should never go negative, so why do we need the sign? > - there is no reason why the number of pages should get limited to i.e. > 2 GB instead of 4 GB on 32 bit machines.
But we're talking page count, not byte count. So signed vs unsigned is something like having 8 vs 16 TERRABYTES addressable. Personally, I dont think that should be an issue :-) So allowing signed int for pagecounts, means you can allow -1 as a flag for "uninitialized" or something. Maybe not passing back to the user. But in internal routines that calculate pagecounts, etc. _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
