From: Cloudwalk Date: Wed, 12 Aug 2020 16:51:47 +0000 (-0400) Subject: pr_comp: Use unsigned int for dprograms_t elements, matching FTEQW X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c2669900c309f09aa5210facfcf1513ff8b4ed78;p=xonotic%2Fdarkplaces.git pr_comp: Use unsigned int for dprograms_t elements, matching FTEQW --- diff --git a/pr_comp.h b/pr_comp.h index 44dba74a..20801b84 100644 --- a/pr_comp.h +++ b/pr_comp.h @@ -295,25 +295,25 @@ typedef struct dprograms_s int version; int crc; // check of header file - int ofs_statements; - int numstatements; // statement 0 is an error + unsigned int ofs_statements; + unsigned int numstatements; // statement 0 is an error - int ofs_globaldefs; - int numglobaldefs; + unsigned int ofs_globaldefs; + unsigned int numglobaldefs; - int ofs_fielddefs; - int numfielddefs; + unsigned int ofs_fielddefs; + unsigned int numfielddefs; - int ofs_functions; - int numfunctions; // function 0 is an empty + unsigned int ofs_functions; + unsigned int numfunctions; // function 0 is an empty - int ofs_strings; - int numstrings; // first string is a null string + unsigned int ofs_strings; + unsigned int numstrings; // first string is a null string - int ofs_globals; - int numglobals; + unsigned int ofs_globals; + unsigned int numglobals; - int entityfields; + unsigned int entityfields; } dprograms_t;