Skip to content

Commit 817e261

Browse files
committed
es: fix invalid operator precedence in ISALIGNED macro
1 parent f1aa758 commit 817e261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libogc/es.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ distribution.
110110
#ifdef __builtin_is_aligned
111111
# define ISALIGNED(x, a) __builtin_is_aligned(x, a)
112112
#else
113-
# define ISALIGNED(x, a) (((u32)x) & (a - 1) == 0)
113+
# define ISALIGNED(x, a) ((((u32)x) & (a - 1)) == 0)
114114
#endif
115115

116116
static char __es_fs[] ATTRIBUTE_ALIGN(32) = "/dev/es";

0 commit comments

Comments
 (0)