]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/polylib.c
merge branch work back into trunk
[xonotic/netradiant.git] / tools / quake3 / common / polylib.c
index 21067ca2e49731f393f1aab87480a425c9d58cad..75caec6bcd4c93046bbc167994427131abf12d9c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+Copyright (C) 1999-2007 id Software, Inc. and contributors.
 For a list of contributors, see the accompanying CONTRIBUTORS file.
 
 This file is part of GtkRadiant.
@@ -286,7 +286,7 @@ winding_t   *CopyWinding (winding_t *w)
        winding_t       *c;
 
        c = AllocWinding (w->numpoints);
-       size = (int)((winding_t *)0)->p[w->numpoints];
+       size = (int)((size_t)((winding_t *)0)->p[w->numpoints]);
        memcpy (c, w, size);
        return c;
 }