Cleanup: use function style cast in MAKE_ID macro

Ref: !120630
This commit is contained in:
dupoxy
2024-04-14 11:51:28 +02:00
committed by Campbell Barton
parent b405bb3268
commit 1079f0918e

View File

@@ -157,7 +157,7 @@ static const char *check_memlist(MemHead *memh);
/* --------------------------------------------------------------------- */
#ifdef __BIG_ENDIAN__
# define MAKE_ID(a, b, c, d) ((int)(a) << 24 | (int)(b) << 16 | (c) << 8 | (d))
# define MAKE_ID(a, b, c, d) (int(a) << 24 | int(b) << 16 | (c) << 8 | (d))
#else
# define MAKE_ID(a, b, c, d) (int(d) << 24 | int(c) << 16 | (b) << 8 | (a))
#endif