diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-04-02 23:03:09 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-04-02 23:03:09 +0000 |
commit | 7ec50f12252b4dfb97f3249ccf05a771b98785c1 (patch) | |
tree | 279e4e8bd7b940368331a43869c165de9637ae99 /source/cmodel.c | |
parent | 80e48417564f1ce50a39a7c552ad95e651362c1f (diff) |
Use size_t instead of int where possible.
Added initial support for Win64 port.
Diffstat (limited to 'source/cmodel.c')
-rw-r--r-- | source/cmodel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cmodel.c b/source/cmodel.c index 91e562d..d65ca67 100644 --- a/source/cmodel.c +++ b/source/cmodel.c @@ -38,13 +38,13 @@ void CM_FloodAreaConnections( cm_t *cm ); typedef struct { void *base; - unsigned count; + size_t count; } cmlump_t; typedef struct { size_t size; - unsigned mincount; - unsigned maxcount; + size_t mincount; + size_t maxcount; const char *name; } lump_info_t; @@ -684,7 +684,7 @@ const char *CM_LoadMapEx( cm_t *cm, const char *name, int flags, uint32_t *check cmlump_t *out; const lump_info_t *info; const lump_load_t *load; - unsigned length, endpos, fileofs, filelen; + size_t length, endpos, fileofs, filelen; char *error; // char *entstring; // char buffer[MAX_QPATH]; |