Skip to content

Commit

Permalink
portx64: fixed linux build, one more time
Browse files Browse the repository at this point in the history
  • Loading branch information
Raf committed Aug 9, 2024
1 parent 40cc42a commit a721349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port/src/preprocess/filesetup.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static inline void convU16(u16 *dst, u32 src) { *dst = srctoh16(src); }
static inline void convS16(s16 *dst, s32 src) { *dst = srctoh16(src); }
static inline void cpyByte(u8 *dst, u8 src) { *dst = src; }
static inline void convCoord(struct coord* dst, struct n64_coord src) { convF32(&dst->x, src.x); convF32(&dst->y, src.y); convF32(&dst->z, src.z); }
static inline u32 swapUnk(u32 x) { assert(0 && "unknown type"); return x; }
static inline void convUnk(u32 x) { assert(0 && "unknown type"); }

#define PD_CONV_VAL(dst, src) _Generic((dst), \
f32: convF32, \
Expand Down

0 comments on commit a721349

Please sign in to comment.