diff options
Diffstat (limited to 'code/qcommon/cm_polylib.c')
-rwxr-xr-x | code/qcommon/cm_polylib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/qcommon/cm_polylib.c b/code/qcommon/cm_polylib.c index e96c713..e13eaa6 100755 --- a/code/qcommon/cm_polylib.c +++ b/code/qcommon/cm_polylib.c @@ -272,11 +272,11 @@ CopyWinding */ winding_t *CopyWinding (winding_t *w) { - int size; + unsigned long size; winding_t *c; c = AllocWinding (w->numpoints); - size = (int)((winding_t *)0)->p[w->numpoints]; + size = (long)((winding_t *)0)->p[w->numpoints]; Com_Memcpy (c, w, size); return c; } |