Add missing guard from some macros

Guard them for future usage, as none of these macros had a non-preset variable used with them yet.
This commit is contained in:
CTCaer
2020-11-15 13:39:27 +02:00
parent 485edb4883
commit 68d57861cd
9 changed files with 70 additions and 70 deletions

View File

@@ -38,8 +38,8 @@ typedef enum
ERR_EXCEPTION = (1 << 31),
} hekate_errors_t;
#define byte_swap_32(num) (((num >> 24) & 0xff) | ((num << 8) & 0xff0000) | \
((num >> 8 )& 0xff00) | ((num << 24) & 0xff000000))
#define byte_swap_32(num) ((((num) >> 24) & 0xff) | (((num) << 8) & 0xff0000) | \
(((num) >> 8 )& 0xff00) | (((num) << 24) & 0xff000000))
typedef struct _cfg_op_t
{