git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3546
d7cf8633-e32d-0410-b094-
e92efae38249
prog->max_edicts = min(prog->max_edicts,prog->limit_edicts);
// edictprivate_size has to be min as big prvm_edict_private_t
- prog->edictprivate_size = max(prog->edictprivate_size,sizeof(prvm_edict_private_t));
+ prog->edictprivate_size = max(prog->edictprivate_size,(int)sizeof(prvm_edict_private_t));
// alloc edicts
prog->edicts = Mem_Alloc(prog->edicts_mempool,prog->limit_edicts * sizeof(prvm_edict_t));