PERFORCE change 30863 for review
Peter Wemm
peter at FreeBSD.org
Fri May 9 11:36:11 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30863
Change 30863 by peter at peter_daintree on 2003/05/09 11:35:32
revert to vendor. If this causes a compile error, it is because
cc is misconfigured about the sizeof ptrdiff_t and size_t.
Affected files ...
.. //depot/projects/hammer/sys/vm/vm_pager.c#6 edit
Differences ...
==== //depot/projects/hammer/sys/vm/vm_pager.c#6 (text+ko) ====
@@ -340,7 +340,8 @@
bp->b_rcred = NOCRED;
bp->b_wcred = NOCRED;
bp->b_qindex = 0; /* On no queue (QUEUE_NONE) */
- bp->b_data = (caddr_t) ((MAXPHYS * (bp - swbuf)) + swapbkva);
+ /* If you get a compile error here, it is because your cc is misconfigured */
+ bp->b_data = (caddr_t) (MAXPHYS * (bp - swbuf)) + swapbkva;
bp->b_kvabase = bp->b_data;
bp->b_kvasize = MAXPHYS;
bp->b_xflags = 0;
More information about the p4-projects
mailing list