Skip to content

Commit

Permalink
fix compilation for big-endian arch
Browse files Browse the repository at this point in the history
  • Loading branch information
jonof committed Jun 30, 2023
1 parent efd88d9 commit 4eb7853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mdsprite.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ static md3model *md3load (int fil)

#if B_BIG_ENDIAN != 0
{
int *l;
int i, j, *l;

for (i=s->numtris-1;i>=0;i--) {
for (j=2;j>=0;j--) s->tris[i].i[j] = B_LITTLE32(s->tris[i].i[j]);
Expand Down

0 comments on commit 4eb7853

Please sign in to comment.