From ecb147b98f04d2bf193da1a874ea2f2392bf0e66 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 27 Mar 2012 18:12:52 +0100 Subject: Consistently passing closure sizes as size_t and not casting back and forth to size or anything else. Copied from Perforce Change: 177817 ServerID: perforce.ravenbrook.com --- mps/code/mpmtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mps/code/mpmtypes.h') diff --git a/mps/code/mpmtypes.h b/mps/code/mpmtypes.h index b424cb6d341..d1aaa1e4cf2 100644 --- a/mps/code/mpmtypes.h +++ b/mps/code/mpmtypes.h @@ -211,7 +211,7 @@ typedef void (*PoolFramePopPendingMethod)(Pool pool, Buffer buf, AllocFrame frame); typedef void (*PoolWalkMethod)(Pool pool, Seg seg, FormattedObjectsStepMethod f, - void *v, unsigned long s); + void *v, size_t s); typedef void (*PoolFreeWalkMethod)(Pool pool, FreeBlockStepMethod f, void *p); typedef BufferClass (*PoolBufferClassMethod)(void); typedef Res (*PoolDescribeMethod)(Pool pool, mps_lib_FILE *stream); -- cgit v1.2.1