aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/cm_polylib.c
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-27 02:24:00 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-27 02:24:00 +0000
commit2cbb0a8b22175da7a5b9b15f120f24def39c9abb (patch)
tree0a7591016e4770b5f9fd766c6c3c99c3820498bc /code/qcommon/cm_polylib.c
parent6bf20c78f5b69d40bcc4931df93d29198435ab67 (diff)
downloadioquake3-aero-2cbb0a8b22175da7a5b9b15f120f24def39c9abb.tar.gz
ioquake3-aero-2cbb0a8b22175da7a5b9b15f120f24def39c9abb.zip
Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.
git-svn-id: svn://svn.icculus.org/quake3/trunk@7 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/cm_polylib.c')
-rwxr-xr-xcode/qcommon/cm_polylib.c4
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;
}