Eliminate -Wno-narrowing. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4771 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2014-11-28 23:57:21 +00:00
parent e29e5bfbcb
commit 9d5a17c93e
2 changed files with 1 additions and 8 deletions

View file

@ -392,13 +392,6 @@ ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
endif
endif
# XXX: I (Helixhorned) only know that there's no -Wnarrowing on my OS X 10.6 using GCC 4.2.
ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
ifeq (1,$(strip $(shell expr $(GCC_MINOR) \>= 3)))
CPPONLYFLAGS+= -Wno-narrowing
endif
endif
ifeq ($(PLATFORM),WII)
override USE_LIBVPX = 0
override NETCODE = 0

View file

@ -1592,7 +1592,7 @@ static void md3postload_common(md3model_t *m)
do // while(++verti < m->head.surfs[surfi].numverts);
{
vec3f_t f = { frameverts[verti].x, frameverts[verti].y, frameverts[verti].z };
vec3f_t f = { (float)frameverts[verti].x, (float)frameverts[verti].y, (float)frameverts[verti].z };
if (!verti && !surfi)
continue;