Skip to content

Commit

Permalink
Make L2_CACHELINE_SIZE_BYTES unsinged long
Browse files Browse the repository at this point in the history
  • Loading branch information
00pauln00 committed Jul 23, 2024
1 parent 4db8b43 commit 4c66e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

#define PACKED __attribute__((packed))

#define L2_CACHELINE_SIZE_BYTES 64
#define L2_CACHELINE_SIZE_BYTES 64UL
#define CACHE_ALIGN_MEMBER(memb) \
__attribute__((aligned(L2_CACHELINE_SIZE_BYTES))) memb

Expand Down

0 comments on commit 4c66e53

Please sign in to comment.