Skip to content

Commit 0993469

Browse files
committed
fix typing issue
1 parent 9e5b6ba commit 0993469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux-user/strace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct flags {
5454
};
5555

5656
/* No 'struct flags' element should have a zero mask. */
57-
#define FLAG_BASIC(V, M, N) { V, M | QEMU_BUILD_BUG_ON_ZERO(!(M)), N }
57+
#define FLAG_BASIC(V, M, N) { V, M | QEMU_BUILD_BUG_ON_ZERO(!((M) > 0 ? 1 : 0)), N }
5858

5959
/* common flags for all architectures */
6060
#define FLAG_GENERIC_MASK(V, M) FLAG_BASIC(V, M, #V)

0 commit comments

Comments
 (0)