Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2003 11:36:08 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 30863 for review
Message-ID:  <200305091836.h49Ia8ua078531@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30863

Change 30863 by peter@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305091836.h49Ia8ua078531>