void DrawQ_SetClipArea(float x, float y, float width, float height)
{
drawqueue_t * dq;
- if(r_refdef.drawqueuesize + sizeof(*dq) > r_refdef.maxdrawqueuesize)
+ if(r_refdef.drawqueuesize + (int)sizeof(*dq) > r_refdef.maxdrawqueuesize)
{
Con_DPrintf("DrawQueue full !\n");
return;
void DrawQ_ResetClipArea(void)
{
drawqueue_t *dq;
- if(r_refdef.drawqueuesize + sizeof(*dq) > r_refdef.maxdrawqueuesize)
+ if(r_refdef.drawqueuesize + (int)sizeof(*dq) > r_refdef.maxdrawqueuesize)
{
Con_DPrintf("DrawQueue full !\n");
return;