git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11903
d7cf8633-e32d-0410-b094-
e92efae38249
cls.r_speeds_graph_current = 0;
if (cls.r_speeds_graph_data)
Mem_Free(cls.r_speeds_graph_data);
- cls.r_speeds_graph_data = Mem_Alloc(cls.permanentmempool, cls.r_speeds_graph_length * sizeof(r_refdef.stats));
+ cls.r_speeds_graph_data = (int *)Mem_Alloc(cls.permanentmempool, cls.r_speeds_graph_length * sizeof(r_refdef.stats));
// initialize the graph to have the current values throughout history
graph_data = cls.r_speeds_graph_data;
graph_length = cls.r_speeds_graph_length;