From: havoc Date: Tue, 5 Jul 2005 09:22:15 +0000 (+0000) Subject: use size_t even more X-Git-Tag: xonotic-v0.1.0preview~4692 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=85d7c7f18c78cf77d7d00453338892e042b51eb3;hp=190a74cbf9792407ff3fc9abc9654f933fdeda8a use size_t even more git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5494 d7cf8633-e32d-0410-b094-e92efae38249 --- 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; }