Skip to content

Commit d8d2458

Browse files
committed
RB_UVcolor: casting as gcc 14 hates this line
makefile - because gcc 14 is fussier, i'll do this wrt VMA for now.
1 parent 59ffa68 commit d8d2458

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,7 @@ BASE_CFLAGS += -Wformat=2 -Wno-format-zero-length -Wformat-security -Wno-format-
11831183
BASE_CFLAGS += -Wstrict-aliasing=2 -Wmissing-format-attribute
11841184
BASE_CFLAGS += -Wdisabled-optimization
11851185
BASE_CFLAGS += -Werror-implicit-function-declaration
1186+
BASE_CFLAGS += -Wno-int-conversion
11861187

11871188
ifeq ($(V),1)
11881189
echo_cmd=@:

code/renderer_oa/tr_shade_calc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ static void RB_UVColor( unsigned char *colors, int glowcol, int fx )
15881588

15891589
v = tess.xyz[0];
15901590
normal = tess.normal[0];
1591-
texc = tess.texCoords[0];
1591+
texc = (float*) tess.texCoords[0];
15921592

15931593
numVertexes = tess.numVertexes;
15941594
for (i = 0 ; i < numVertexes ; i++, v += 4, texc+=2 ) {

0 commit comments

Comments
 (0)