C++ conversion: fixed compilation errors for quake3 project.
This commit is contained in:
@@ -58,7 +58,7 @@ winding_t *AllocWinding (int points)
|
||||
c_peak_windings = c_active_windings;
|
||||
|
||||
s = sizeof(vec_t)*3*points + sizeof(int);
|
||||
w = Z_Malloc (s);
|
||||
w = (winding_t*) Z_Malloc (s);
|
||||
Com_Memset (w, 0, s);
|
||||
return w;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user