From 85d7c7f18c78cf77d7d00453338892e042b51eb3 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 5 Jul 2005 09:22:15 +0000 Subject: [PATCH] use size_t even more git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5494 d7cf8633-e32d-0410-b094-e92efae38249 --- zone.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zone.h b/zone.h index 74f20c6d..0ef231be 100644 --- a/zone.h +++ b/zone.h @@ -52,7 +52,7 @@ typedef struct memheader_s struct memclump_s *clump; #endif // size of the memory after the header (excluding header and sentinel2) - int size; + size_t size; // file name and line where Mem_Alloc was called const char *filename; int fileline; @@ -75,10 +75,10 @@ typedef struct memclump_s // should always be MEMCLUMP_SENTINEL unsigned int sentinel2; // if this drops to 0, the clump is freed - int blocksinuse; + size_t blocksinuse; // largest block of memory available (this is reset to an optimistic // number when anything is freed, and updated when alloc fails the clump) - int largestavailable; + size_t largestavailable; // next clump in the chain struct memclump_s *chain; } -- 2.39.2