Skip to content

Commit

Permalink
Add parens to MAX_PROPERTY_INDEX (#2560)
Browse files Browse the repository at this point in the history
  • Loading branch information
y-guyon authored Jan 7, 2025
1 parent 16ca487 commit 8fc7f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// unsigned int(7) property_index;
//
// libavif writes 'ipma' with flags set to 0.
#define MAX_PROPERTY_INDEX (1 << 7) - 1
#define MAX_PROPERTY_INDEX ((1 << 7) - 1)

// The indices of the properties associated with an item.
typedef struct avifItemPropertyAssociation
Expand Down

0 comments on commit 8fc7f7e

Please sign in to comment.